Skip to content

Commit

Permalink
making PEP8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
realead committed Aug 21, 2018
1 parent 5762363 commit 8227280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/tests/indexes/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,8 @@ def test_get_indexer_with_NA_values(self):
for s in na_values:
if f is not s: # otherwise not unique
arr = np.array([f, s], dtype=np.object)
result = pd.Index(arr, dtype=np.object).get_indexer([f, s, 'Unknown'])
index = pd.Index(arr, dtype=np.object)
result = index.get_indexer([f, s, 'Unknown'])
expected = np.array([0, 1, -1], dtype=np.int64)
tm.assert_numpy_array_equal(result, expected)

Expand Down

0 comments on commit 8227280

Please sign in to comment.