Skip to content

Commit a7e9183

Browse files
authored
TST: slow collection in test_algos.py (#43898)
1 parent 74b59a3 commit a7e9183

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/tests/test_algos.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -1797,13 +1797,13 @@ def test_too_many_ndims(self):
17971797

17981798
@pytest.mark.single
17991799
@pytest.mark.high_memory
1800-
@pytest.mark.parametrize(
1801-
"values",
1802-
[np.arange(2 ** 24 + 1), np.arange(2 ** 25 + 2).reshape(2 ** 24 + 1, 2)],
1803-
ids=["1d", "2d"],
1804-
)
1805-
def test_pct_max_many_rows(self, values):
1800+
def test_pct_max_many_rows(self):
18061801
# GH 18271
1802+
values = np.arange(2 ** 24 + 1)
1803+
result = algos.rank(values, pct=True).max()
1804+
assert result == 1
1805+
1806+
values = np.arange(2 ** 25 + 2).reshape(2 ** 24 + 1, 2)
18071807
result = algos.rank(values, pct=True).max()
18081808
assert result == 1
18091809

0 commit comments

Comments
 (0)