Skip to content

Commit ffad00d

Browse files
authored
MNT skip test_min_dependencies_readme on PyPy (scikit-learn#20299)
1 parent dc2b587 commit ffad00d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/tests/test_min_dependencies_readme.py

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import os
55
import re
6+
import platform
67
from pathlib import Path
78

89
import pytest
@@ -16,6 +17,9 @@ def test_min_dependencies_readme():
1617
# consistent with the minimum dependencies defined at the file:
1718
# sklearn/_min_dependencies.py
1819

20+
if platform.python_implementation() == "PyPy":
21+
pytest.skip("PyPy does not always share the same minimum deps")
22+
1923
pattern = re.compile(
2024
r"(\.\. \|)"
2125
+ r"(([A-Za-z]+\-?)+)"

0 commit comments

Comments
 (0)