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(
9595requires_pandas_version_two = pytest .mark .skipif (
9696 not has_pandas_version_two , reason = "requires pandas 2.0.0"
9797)
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+ )
98102
99103# change some global options for tests
100104set_options (warn_for_unclosed_files = True )
Original file line number Diff line number Diff line change 7777 requires_scipy ,
7878 requires_scipy_or_netCDF4 ,
7979 requires_zarr ,
80+ requires_h5netcdf_ros3 ,
8081)
8182from xarray .tests .test_coding_times import (
8283 _ALL_CALENDARS ,
@@ -3444,7 +3445,7 @@ def test_write_inconsistent_chunks(self) -> None:
34443445 assert actual ["y" ].encoding ["chunksizes" ] == (100 , 50 )
34453446
34463447
3447- @requires_h5netcdf
3448+ @requires_h5netcdf_ros3
34483449class TestH5NetCDFDataRos3Driver (TestCommon ):
34493450 engine : T_NetcdfEngine = "h5netcdf"
34503451 test_remote_dataset : str = (
You can’t perform that action at this time.
0 commit comments