Skip to content

Commit

Permalink
invert the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis committed Apr 28, 2024
1 parent e5d2fe1 commit cb92fba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xarray/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ def _importorskip_h5netcdf_ros3():
has_h5netcdf_ros3 = h5netcdf_with_ros3 and h5py_with_ros3

return has_h5netcdf_ros3, pytest.mark.skipif(
has_h5netcdf_ros3, reason="requires h5netcdf>=1.3.0 and h5py with ros3 support"
not has_h5netcdf_ros3,
reason="requires h5netcdf>=1.3.0 and h5py with ros3 support",
)


Expand Down

0 comments on commit cb92fba

Please sign in to comment.