Skip to content

Commit

Permalink
Update xarray/tests/test_groupby.py
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Nov 7, 2024
1 parent d5c997a commit 7e8e02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/tests/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -1935,7 +1935,7 @@ def test_resample_bad_resample_dim(self) -> None:
times = pd.date_range("2000-01-01", freq="6h", periods=10)
array = DataArray(np.arange(10), [("__resample_dim__", times)])
with pytest.raises(ValueError, match=r"Proxy resampling dimension"):
array.resample(__resample_dim__="1D").first() # type: ignore[arg-type]
array.resample(__resample_dim__="1D").first()

@requires_scipy
def test_resample_drop_nondim_coords(self) -> None:
Expand Down

0 comments on commit 7e8e02c

Please sign in to comment.