From 1952afac53886e80cfc3f310b9e5275235c11d4a Mon Sep 17 00:00:00 2001 From: Jeremy Schendel Date: Mon, 19 Nov 2018 18:03:04 -0700 Subject: [PATCH] TST: Mark test_pct_max_many_rows with pytest.mark.single (#23799) --- pandas/tests/frame/test_rank.py | 1 + pandas/tests/series/test_rank.py | 1 + pandas/tests/test_algos.py | 1 + 3 files changed, 3 insertions(+) diff --git a/pandas/tests/frame/test_rank.py b/pandas/tests/frame/test_rank.py index eaba5f7ec7790..e7a876bcf52d1 100644 --- a/pandas/tests/frame/test_rank.py +++ b/pandas/tests/frame/test_rank.py @@ -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), diff --git a/pandas/tests/series/test_rank.py b/pandas/tests/series/test_rank.py index 5b0ea37a0bfcf..72d05cb4839ef 100644 --- a/pandas/tests/series/test_rank.py +++ b/pandas/tests/series/test_rank.py @@ -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)) diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index ff505f2986b1a..fa33a1ceae0b9 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -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)],