Skip to content

Commit

Permalink
find out why the pytest hangs on Windows - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchin committed Aug 28, 2024
1 parent 02d5e7c commit 6eb65dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion gplately/utils/dev_warning.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def print_using_source_code_warning(version: str):
) or not os.path.isfile(
f"{os.path.dirname(os.path.realpath(__file__))}/../../../../bin/gplately"
):
logger.warn(
logger.warning(
f"The location of GPlately currently in use is {os.path.dirname(os.path.dirname(os.path.realpath(__file__)))}. "
+ f"It seems that you are using GPlately source code directly or installed editable package with `pip install -e .`, "
+ f"the version number(❗{version}❗) 👉may not be accurate👈 in these cases."
Expand Down
1 change: 0 additions & 1 deletion tests-dir/pytestcases/test_5_seafloorgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def _reconstruct_by_topologies(time, seafloorgrid, clean=False):

# test netCDF writing
@pytest.mark.parametrize("zval_name", zval_names)
@pytest.mark.skip(reason="find out why the test hangs on Windows")
def test_lat_lon_z_to_netCDF(zval_name, seafloorgrid):
time = gridding_times[0]

Expand Down

0 comments on commit 6eb65dc

Please sign in to comment.