File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ def _importorskip(
95
95
requires_pandas_version_two = pytest .mark .skipif (
96
96
not has_pandas_version_two , reason = "requires pandas 2.0.0"
97
97
)
98
+ has_h5netcdf_ros3 = _importorskip ("h5netcdf" , "1.3.0" )
99
+ requires_h5netcdf_ros3 = pytest .mark .skipif (
100
+ not has_h5netcdf_ros3 [0 ], reason = "requires h5netcdf 1.3.0"
101
+ )
98
102
99
103
# change some global options for tests
100
104
set_options (warn_for_unclosed_files = True )
Original file line number Diff line number Diff line change 77
77
requires_scipy ,
78
78
requires_scipy_or_netCDF4 ,
79
79
requires_zarr ,
80
+ requires_h5netcdf_ros3 ,
80
81
)
81
82
from xarray .tests .test_coding_times import (
82
83
_ALL_CALENDARS ,
@@ -3444,7 +3445,7 @@ def test_write_inconsistent_chunks(self) -> None:
3444
3445
assert actual ["y" ].encoding ["chunksizes" ] == (100 , 50 )
3445
3446
3446
3447
3447
- @requires_h5netcdf
3448
+ @requires_h5netcdf_ros3
3448
3449
class TestH5NetCDFDataRos3Driver (TestCommon ):
3449
3450
engine : T_NetcdfEngine = "h5netcdf"
3450
3451
test_remote_dataset : str = (
You can’t perform that action at this time.
0 commit comments