Skip to content

Commit 3af9eb1

Browse files
jschendelPingviinituutti
authored andcommitted
TST: Mark test_pct_max_many_rows with pytest.mark.single (pandas-dev#23799)
1 parent 11e3736 commit 3af9eb1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

pandas/tests/frame/test_rank.py

+1
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ def test_rank_pct_true(self, method, exp):
310310
expected = DataFrame(exp)
311311
tm.assert_frame_equal(result, expected)
312312

313+
@pytest.mark.single
313314
def test_pct_max_many_rows(self):
314315
# GH 18271
315316
df = DataFrame({'A': np.arange(2**24 + 1),

pandas/tests/series/test_rank.py

+1
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ def test_rank_first_pct(dtype, ser, exp):
497497
assert_series_equal(result, expected)
498498

499499

500+
@pytest.mark.single
500501
def test_pct_max_many_rows():
501502
# GH 18271
502503
s = Series(np.arange(2**24 + 1))

pandas/tests/test_algos.py

+1
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,7 @@ def test_too_many_ndims(self):
14621462
with pytest.raises(TypeError, match=msg):
14631463
algos.rank(arr)
14641464

1465+
@pytest.mark.single
14651466
@pytest.mark.parametrize('values', [
14661467
np.arange(2**24 + 1),
14671468
np.arange(2**25 + 2).reshape(2**24 + 1, 2)],

0 commit comments

Comments
 (0)