We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf8d495 commit ee17169Copy full SHA for ee17169
pandas/tests/indexing/multiindex/test_partial.py
@@ -1,5 +1,3 @@
1
-from warnings import catch_warnings, simplefilter
2
-
3
import numpy as np
4
import pytest
5
@@ -106,11 +104,6 @@ def test_getitem_partial_column_select(self):
106
104
expected = df.loc[("a", "y")][[1, 0]]
107
105
tm.assert_frame_equal(result, expected)
108
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
114
with pytest.raises(KeyError, match=r"\('a', 'foo'\)"):
115
df.loc[("a", "foo"), :]
116
0 commit comments