Skip to content

Commit

Permalink
TST: Mark test_pct_max_many_rows with pytest.mark.single (pandas-dev#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jschendel authored and jreback committed Nov 20, 2018
1 parent deb7b4d commit 1952afa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pandas/tests/frame/test_rank.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def test_rank_pct_true(self, method, exp):
expected = DataFrame(exp)
tm.assert_frame_equal(result, expected)

@pytest.mark.single
def test_pct_max_many_rows(self):
# GH 18271
df = DataFrame({'A': np.arange(2**24 + 1),
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/series/test_rank.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ def test_rank_first_pct(dtype, ser, exp):
assert_series_equal(result, expected)


@pytest.mark.single
def test_pct_max_many_rows():
# GH 18271
s = Series(np.arange(2**24 + 1))
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/test_algos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,7 @@ def test_too_many_ndims(self):
with pytest.raises(TypeError, match=msg):
algos.rank(arr)

@pytest.mark.single
@pytest.mark.parametrize('values', [
np.arange(2**24 + 1),
np.arange(2**25 + 2).reshape(2**24 + 1, 2)],
Expand Down

0 comments on commit 1952afa

Please sign in to comment.