Skip to content

Commit

Permalink
don't use a double dict
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback committed Nov 26, 2017
1 parent 6890299 commit 7e19fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/indexes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ def test_map_dictlike(self, mapper):
pytest.skip("tested in test_categorical")
expected = index

identity = mapper({x: x for x in index}, index)
identity = mapper(index.values, index)
result = index.map(identity)
tm.assert_index_equal(result, expected)

Expand Down

0 comments on commit 7e19fd2

Please sign in to comment.