Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Apr 6, 2021
1 parent 8a168ce commit a1ce19d
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 @@ -7398,8 +7398,8 @@ def test_drop_duplicate_coords(keep):
@pytest.mark.parametrize("keep", ["first", "last", False])
def test_drop_duplicate_coords_duplicate_dims(keep):
da = xr.DataArray(
[["a", "b", "c"], ["d", "e", "f"]],
coords={"init": [0, 0], "tau": [1, 2, 3]}, # duplicate inits
[[1, 2, 3], [4, 5, 6]],
coords={"init": [0, 0], "tau": [1, 2, 3]},
dims=["init", "tau"],
)
da.coords["valid"] = (("init", "tau"), np.array([[8, 6, 6], [7, 7, 7]]))
Expand Down

0 comments on commit a1ce19d

Please sign in to comment.