Skip to content

Commit

Permalink
Fixed lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Mathieu Deschenes committed Jul 3, 2017
1 parent b17fcd6 commit cc9d058
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pandas/tests/indexing/test_timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ def test_boolean_indexing(self):
dtype='int64')
tm.assert_frame_equal(expected, result)

@pytest.mark.parametrize("indexer, expected",
[(0, [20, 1, 2, 3, 4, 5, 6, 7, 8, 9]),
(slice(4, 8), [0, 1, 2, 3, 20, 20, 20, 20, 8, 9],),
([3, 5], [0, 1, 2, 20, 4, 20, 6, 7, 8, 9])])
@pytest.mark.parametrize(
"indexer, expected",
[(0, [20, 1, 2, 3, 4, 5, 6, 7, 8, 9]),
(slice(4, 8), [0, 1, 2, 3, 20, 20, 20, 20, 8, 9]),
([3, 5], [0, 1, 2, 20, 4, 20, 6, 7, 8, 9])])
def test_list_like_indexing(self, indexer, expected):
# GH 16637
df = pd.DataFrame({'x': range(10)}, dtype="int64")
Expand Down

0 comments on commit cc9d058

Please sign in to comment.