Skip to content

Commit a1ce19d

Browse files
author
ahuang11
committed
Fix tests
1 parent 8a168ce commit a1ce19d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/tests/test_dataarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7398,8 +7398,8 @@ def test_drop_duplicate_coords(keep):
73987398
@pytest.mark.parametrize("keep", ["first", "last", False])
73997399
def test_drop_duplicate_coords_duplicate_dims(keep):
74007400
da = xr.DataArray(
7401-
[["a", "b", "c"], ["d", "e", "f"]],
7402-
coords={"init": [0, 0], "tau": [1, 2, 3]}, # duplicate inits
7401+
[[1, 2, 3], [4, 5, 6]],
7402+
coords={"init": [0, 0], "tau": [1, 2, 3]},
74037403
dims=["init", "tau"],
74047404
)
74057405
da.coords["valid"] = (("init", "tau"), np.array([[8, 6, 6], [7, 7, 7]]))

0 commit comments

Comments
 (0)