Skip to content

Commit db2d69e

Browse files
simonjayhawkinsquintusdias
authored andcommitted
DEPR: remove .ix from tests/indexing/test_partial.py (pandas-dev#27566)
1 parent 161100d commit db2d69e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pandas/tests/indexing/multiindex/test_partial.py

-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from warnings import catch_warnings, simplefilter
2-
31
import numpy as np
42
import pytest
53

@@ -106,11 +104,6 @@ def test_getitem_partial_column_select(self):
106104
expected = df.loc[("a", "y")][[1, 0]]
107105
tm.assert_frame_equal(result, expected)
108106

109-
with catch_warnings(record=True):
110-
simplefilter("ignore", FutureWarning)
111-
result = df.ix[("a", "y"), [1, 0]]
112-
tm.assert_frame_equal(result, expected)
113-
114107
with pytest.raises(KeyError, match=r"\('a', 'foo'\)"):
115108
df.loc[("a", "foo"), :]
116109

0 commit comments

Comments
 (0)