Skip to content

Commit a608644

Browse files
committed
making PEP8 happy
1 parent e986f28 commit a608644

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/indexes/test_base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,8 @@ def test_get_indexer_with_NA_values(self):
12541254
for s in na_values:
12551255
if f is not s: # otherwise not unique
12561256
arr = np.array([f, s], dtype=np.object)
1257-
result = pd.Index(arr, dtype=np.object).get_indexer([f, s, 'Unknown'])
1257+
index = pd.Index(arr, dtype=np.object)
1258+
result = index.get_indexer([f, s, 'Unknown'])
12581259
expected = np.array([0, 1, -1], dtype=np.int64)
12591260
tm.assert_numpy_array_equal(result, expected)
12601261

0 commit comments

Comments
 (0)