(self)
| 5049 | assert "y" in ds.xindexes |
| 5050 | |
| 5051 | def test_assign_multiindex_level(self) -> None: |
| 5052 | data = create_test_multiindex() |
| 5053 | with pytest.raises(ValueError, match=r"cannot drop or update.*corrupt.*index "): |
| 5054 | data.assign(level_1=range(4)) |
| 5055 | data.assign_coords(level_1=range(4)) |
| 5056 | |
| 5057 | def test_assign_new_multiindex(self) -> None: |
| 5058 | midx = pd.MultiIndex.from_arrays([["a", "a", "b", "b"], [0, 1, 0, 1]]) |
nothing calls this directly
no test coverage detected