Skip to content

Commit 4d6ed03

Browse files
committed
1 parent cafcaee commit 4d6ed03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_dask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def test_reduce(self):
216216
self.assertLazyAndAllClose(u.argmin(dim="x"), actual)
217217
self.assertLazyAndAllClose((u > 1).any(), (v > 1).any())
218218
self.assertLazyAndAllClose((u < 1).all("x"), (v < 1).all("x"))
219-
with raises_regex(NotImplementedError, "dask"):
219+
with pytest.raises(NotImplementedError):
220220
v.median()
221221
with raise_if_dask_computes():
222222
v.reduce(duck_array_ops.mean)

0 commit comments

Comments
 (0)