From a1ce19df96a563737fc43a2c5273965bc5753406 Mon Sep 17 00:00:00 2001 From: ahuang11 Date: Mon, 5 Apr 2021 22:49:21 -0500 Subject: [PATCH] Fix tests --- xarray/tests/test_dataarray.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xarray/tests/test_dataarray.py b/xarray/tests/test_dataarray.py index 8f13d3f730a..cff0bfbac51 100644 --- a/xarray/tests/test_dataarray.py +++ b/xarray/tests/test_dataarray.py @@ -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]]))