Skip to content

Commit

Permalink
skip interval tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback committed Nov 26, 2017
1 parent 7e19fd2 commit 9447d2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions pandas/tests/indexes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,8 +1021,9 @@ def test_map(self):
def test_map_dictlike(self, mapper):

index = self.create_index()
if isinstance(index, pd.CategoricalIndex):
pytest.skip("tested in test_categorical")
if isinstance(index, (pd.CategoricalIndex, pd.IntervalIndex)):
pytest.skip("skipping tests for {}".format(type(index)))

expected = index

identity = mapper(index.values, index)
Expand Down
4 changes: 0 additions & 4 deletions pandas/tests/indexes/test_interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,10 +566,6 @@ def test_repr_max_seq_item_setting(self):
def test_repr_roundtrip(self):
super(TestIntervalIndex, self).test_repr_roundtrip()

@pytest.mark.xfail(reason='get_indexer behavior does not currently work')
def test_map(self):
super(TestIntervalIndex, self).test_map()

def test_get_item(self, closed):
i = IntervalIndex.from_arrays((0, 1, np.nan), (1, 2, np.nan),
closed=closed)
Expand Down

0 comments on commit 9447d2a

Please sign in to comment.