From 71bea590a09cfb62987f4f1df976cc6b766471aa Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Mon, 29 Apr 2024 00:50:37 +0200 Subject: [PATCH] also invert the other condition --- xarray/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/tests/__init__.py b/xarray/tests/__init__.py index 0cc9617c559..c202e191293 100644 --- a/xarray/tests/__init__.py +++ b/xarray/tests/__init__.py @@ -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")