Skip to content

Commit 371e077

Browse files
committed
skip test_interval tests about repr rather than xfail
1 parent b8b4512 commit 371e077

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/indexes/interval/test_interval.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def test_monotonic(self, closed):
599599
assert idx.is_monotonic_decreasing
600600
assert idx._is_strictly_monotonic_decreasing
601601

602-
@pytest.mark.xfail(reason='not a valid repr as we use interval notation')
602+
@pytest.mark.skip(reason='not a valid repr as we use interval notation')
603603
def test_repr(self):
604604
i = IntervalIndex.from_tuples([(0, 1), (1, 2)], closed='right')
605605
expected = ("IntervalIndex(left=[0, 1],"
@@ -619,11 +619,11 @@ def test_repr(self):
619619
"\n dtype='interval[datetime64[ns]]')")
620620
assert repr(i) == expected
621621

622-
@pytest.mark.xfail(reason='not a valid repr as we use interval notation')
622+
@pytest.mark.skip(reason='not a valid repr as we use interval notation')
623623
def test_repr_max_seq_item_setting(self):
624624
super(TestIntervalIndex, self).test_repr_max_seq_item_setting()
625625

626-
@pytest.mark.xfail(reason='not a valid repr as we use interval notation')
626+
@pytest.mark.skip(reason='not a valid repr as we use interval notation')
627627
def test_repr_roundtrip(self):
628628
super(TestIntervalIndex, self).test_repr_roundtrip()
629629

0 commit comments

Comments
 (0)