We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8c78f commit d8d5a33Copy full SHA for d8d5a33
xarray/tests/test_groupby.py
@@ -1936,7 +1936,7 @@ def test_resample_bad_resample_dim(self) -> None:
1936
times = pd.date_range("2000-01-01", freq="6h", periods=10)
1937
array = DataArray(np.arange(10), [("__resample_dim__", times)])
1938
with pytest.raises(ValueError, match=r"Proxy resampling dimension"):
1939
- array.resample(**{"__resample_dim__": "1D"}).first() # type: ignore[arg-type]
+ array.resample(__resample_dim__="1D").first()
1940
1941
@requires_scipy
1942
def test_resample_drop_nondim_coords(self) -> None:
0 commit comments