Skip to content

Commit 8cca190

Browse files
committed
Add a test
1 parent 616b6c9 commit 8cca190

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/tests/test_dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2625,6 +2625,7 @@ def test_rename_to_dim_name(self):
26252625
.rename({"coord_1_": "coord_1"})
26262626
)
26272627
assert "coord_1" not in newds.data_vars
2628+
assert_equal(newds, obj)
26282629

26292630
def test_rename_multiindex(self):
26302631
mindex = pd.MultiIndex.from_tuples(

0 commit comments

Comments
 (0)