Skip to content

Commit 71c9f00

Browse files
committed
TST: skipping one of the two tests seems to be enough
1 parent cc71fde commit 71c9f00

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/tests/indexing/test_loc.py

-3
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)