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 cc71fde commit 786e403Copy full SHA for 786e403
pandas/tests/indexing/test_indexing.py
@@ -132,8 +132,6 @@ def test_setitem_dtype_upcast(self):
132
assert is_float_dtype(left['foo'])
133
assert is_float_dtype(left['baz'])
134
135
- @pytest.mark.skipif(PY2, reason=("Catching warnings unreliable with "
136
- "Python 2 (GH #20770)"))
137
def test_dups_fancy_indexing(self):
138
139
# GH 3455
@@ -223,6 +221,10 @@ def test_dups_fancy_indexing(self):
223
221
result = df.loc[['A', 'A', 'E']]
224
222
tm.assert_frame_equal(result, expected)
225
+ if PY2:
+ # Catching warnings unreliable with Python 2 (GH #20770)
226
+ pytest.skip()
227
+
228
# GH 5835
229
# dups on index and missing values
230
df = DataFrame(
0 commit comments