Skip to content

Commit

Permalink
Fix bad logic on skip test for parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDeconinck committed Oct 31, 2024
1 parent 2af8dfb commit ce38ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndsl/stencils/testing/test_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def test_parallel_savepoint(
return
if (grid == "compute") and not case.testobj.compute_grid_option:
pytest.xfail(f"Grid compute option not used for test {case.savepoint_name}")
if case.exists:
if not case.exists:
pytest.skip(f"Data at rank {case.rank} does not exists")
input_data = dataset_to_dict(case.ds_in)
# run python version of functionality
Expand Down

0 comments on commit ce38ce0

Please sign in to comment.