Skip to content

Commit

Permalink
Mark test_pct_max_many_rows as high memory (pandas-dev#25400)
Browse files Browse the repository at this point in the history
Fixes issue pandas-dev#25384
  • Loading branch information
scarabeusiv authored and Pingviinituutti committed Feb 28, 2019
1 parent 8d3a462 commit d958495
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):
tm.assert_frame_equal(result, expected)

@pytest.mark.single
@pytest.mark.high_memory
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 @@ -499,6 +499,7 @@ def test_rank_first_pct(dtype, ser, exp):


@pytest.mark.single
@pytest.mark.high_memory
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 @@ -1484,6 +1484,7 @@ def test_too_many_ndims(self):
algos.rank(arr)

@pytest.mark.single
@pytest.mark.high_memory
@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 d958495

Please sign in to comment.