diff --git a/icclim/tests/unit_tests/test_ecad_indices.py b/icclim/tests/unit_tests/test_ecad_indices.py index aeeeff66..9da2346c 100644 --- a/icclim/tests/unit_tests/test_ecad_indices.py +++ b/icclim/tests/unit_tests/test_ecad_indices.py @@ -28,27 +28,6 @@ def test_error(self): EcadIndex.lookup("cacahuĂȘte") -@pytest.mark.parametrize("use_dask", [True, False]) -def test_tn10p_interpolation_error(use_dask): - ds = Dataset() - ds["tas"] = stub_tas(use_dask=use_dask) - conf = IndexConfig( - ds=ds, - slice_mode=Frequency.MONTH, - var_name=["tas"], - index=EcadIndex.TN10P, - netcdf_version=NetcdfVersion.NETCDF4, - base_period_time_range=[ - ds.time.values[0].astype("M8[D]").astype("O"), - ds.time.values[-1].astype("M8[D]").astype("O"), - ], - window_width=2, - interpolation=QuantileInterpolation.LINEAR, - ) - with pytest.raises(InvalidIcclimArgumentError): - tn10p(conf) - - @pytest.mark.parametrize("use_dask", [True, False]) def test_tn10p(use_dask): ds = Dataset() diff --git a/requirements.txt b/requirements.txt index ac51f82d..09723289 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ netCDF4~=1.5.7 numpy~=1.21.1 pandas~=1.3.1 pytest~=6.2.4 -pyyaml=6.0 +pyyaml==6.0 setuptools~=49.6.0 xarray~=0.19.0 xclim~=0.30.0