Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Aug 16, 2020
1 parent ab33493 commit c98ce47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xarray/tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -2572,6 +2572,7 @@ def test_rename_to_dim_name(self):
.rename({"coord_1_": "coord_1"})
)
assert "coord_1" not in newds.data_vars
assert_equal(newds, obj)

def test_rename_multiindex(self):
mindex = pd.MultiIndex.from_tuples(
Expand Down

0 comments on commit c98ce47

Please sign in to comment.