Skip to content

Commit 844592a

Browse files
committed
TST: Remove unneeded skipifs
1 parent cc71fde commit 844592a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

pandas/tests/indexing/test_indexing.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from pandas.core.indexing import _non_reducing_slice, _maybe_numeric_slice
2020
from pandas import NaT, DataFrame, Index, Series, MultiIndex
2121
import pandas.util.testing as tm
22-
from pandas.compat import PY2
2322

2423
from pandas.tests.indexing.common import Base, _mklbl
2524

@@ -132,8 +131,6 @@ def test_setitem_dtype_upcast(self):
132131
assert is_float_dtype(left['foo'])
133132
assert is_float_dtype(left['baz'])
134133

135-
@pytest.mark.skipif(PY2, reason=("Catching warnings unreliable with "
136-
"Python 2 (GH #20770)"))
137134
def test_dups_fancy_indexing(self):
138135

139136
# GH 3455

pandas/tests/indexing/test_loc.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from pandas.util import testing as tm
1313
from pandas.tests.indexing.common import Base
1414
from pandas.api.types import is_scalar
15-
from pandas.compat import PY2
1615

1716

1817
class TestLoc(Base):
@@ -153,8 +152,6 @@ def test_loc_getitem_label_list(self):
153152
[Timestamp('20130102'), Timestamp('20130103')],
154153
typs=['ts'], axes=0)
155154

156-
@pytest.mark.skipif(PY2, reason=("Catching warnings unreliable with "
157-
"Python 2 (GH #20770)"))
158155
def test_loc_getitem_label_list_with_missing(self):
159156
self.check_result('list lbl', 'loc', [0, 1, 2], 'indexer', [0, 1, 2],
160157
typs=['empty'], fails=KeyError)

0 commit comments

Comments
 (0)