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 cafcaee commit 4d6ed03Copy full SHA for 4d6ed03
xarray/tests/test_dask.py
@@ -216,7 +216,7 @@ def test_reduce(self):
216
self.assertLazyAndAllClose(u.argmin(dim="x"), actual)
217
self.assertLazyAndAllClose((u > 1).any(), (v > 1).any())
218
self.assertLazyAndAllClose((u < 1).all("x"), (v < 1).all("x"))
219
- with raises_regex(NotImplementedError, "dask"):
+ with pytest.raises(NotImplementedError):
220
v.median()
221
with raise_if_dask_computes():
222
v.reduce(duck_array_ops.mean)
0 commit comments