Skip to content

Commit c98ce47

Browse files
committed
Add a test
1 parent ab33493 commit c98ce47

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
@@ -2572,6 +2572,7 @@ def test_rename_to_dim_name(self):
25722572
.rename({"coord_1_": "coord_1"})
25732573
)
25742574
assert "coord_1" not in newds.data_vars
2575+
assert_equal(newds, obj)
25752576

25762577
def test_rename_multiindex(self):
25772578
mindex = pd.MultiIndex.from_tuples(

0 commit comments

Comments
 (0)