Skip to content

Commit 9876d8f

Browse files
committed
comment for deleted levels in MI
1 parent 7704c13 commit 9876d8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/frame/test_mutate_columns.py

+2
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ def test_delitem_multiindex(self):
184184
with pytest.raises(KeyError):
185185
del df[('A',)]
186186

187+
# xref: https://github.com/pandas-dev/pandas/issues/2770
188+
# the 'A' is STILL in the columns!
187189
assert 'A' in df.columns
188190
with pytest.raises(KeyError):
189191
del df['A']

0 commit comments

Comments
 (0)