Skip to content

Commit

Permalink
MIN: reintroduce changes added by pydata#3953
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Apr 14, 2020
1 parent 36dc8ee commit 5c23327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray/tests/test_dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -4537,7 +4537,7 @@ def test_idxmin(self, x, minindex, maxindex, nanindex, use_dask):
if use_dask & (x.dtype.kind == "M"):
pytest.xfail("dask operation 'argmin' breaks when dtype is datetime64 (M)")
ar0_raw = xr.DataArray(
x, dims=["x"], coords={"x": np.arange(x.size) * 4}, attrs=self.attrs,
x, dims=["x"], coords={"x": np.arange(x.size) * 4}, attrs=self.attrs
)

if use_dask:
Expand Down Expand Up @@ -4643,7 +4643,7 @@ def test_idxmax(self, x, minindex, maxindex, nanindex, use_dask):
if use_dask & (x.dtype.kind == "M"):
pytest.xfail("dask operation 'argmax' breaks when dtype is datetime64 (M)")
ar0_raw = xr.DataArray(
x, dims=["x"], coords={"x": np.arange(x.size) * 4}, attrs=self.attrs,
x, dims=["x"], coords={"x": np.arange(x.size) * 4}, attrs=self.attrs
)

if use_dask:
Expand Down

0 comments on commit 5c23327

Please sign in to comment.