Skip to content

Commit

Permalink
also invert the other condition
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis committed Apr 28, 2024
1 parent cb92fba commit 71bea59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _importorskip_h5netcdf_ros3():

if not has_h5netcdf:
return has_h5netcdf, pytest.mark.skipif(
has_h5netcdf, reason="requires h5netcdf"
not has_h5netcdf, reason="requires h5netcdf"
)

h5netcdf_with_ros3 = Version(h5netcdf.__version__) >= Version("1.3.0")
Expand Down

0 comments on commit 71bea59

Please sign in to comment.