Skip to content

Commit 1622515

Browse files
committed
fix some style errors in test_rank
1 parent 5eb57b0 commit 1622515

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/series/test_rank.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,11 @@ def test_rank_tie_methods_on_infs_nans(self):
264264
chunk = 3
265265
disabled = set([('object', 'first')])
266266

267-
def _check(s, expected, method='average', na_option='keep', ascending=True):
267+
def _check(s, expected, method='average', na_option='keep',
268+
ascending=True):
268269
expected = list(chain.from_iterable(expected))
269-
result = s.rank(method=method, na_option=na_option, ascending=ascending)
270+
result = s.rank(method=method, na_option=na_option,
271+
ascending=ascending)
270272
tm.assert_series_equal(result, Series(expected, dtype='float64'))
271273

272274
exp_ranks = {

0 commit comments

Comments
 (0)