Skip to content

Commit 28c5056

Browse files
committed
Fix failed test on Python 2.7
1 parent ce2c6b5 commit 28c5056

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/indexing/test_ix.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ def test_ix_deprecation(self):
2121

2222
df = DataFrame({'A': [1, 2, 3]})
2323
with tm.assert_produces_warning(DeprecationWarning,
24-
check_stacklevel=False):
24+
check_stacklevel=False,
25+
clear=[pd.core.indexing]):
2526
df.ix[1, 'A']
2627

2728
def test_ix_loc_setitem_consistency(self):

0 commit comments

Comments
 (0)