MNT skip test_min_dependencies_readme on PyPy
import os
import re
+import platform
from pathlib import Path
import pytest
@@ -16,6 +17,9 @@ def test_min_dependencies_readme():
# consistent with the minimum dependencies defined at the file:
# sklearn/_min_dependencies.py
+ if platform.python_implementation() == "PyPy":
+ pytest.skip("PyPy does not always share the same minimum deps")
+
pattern = re.compile(
r"(\.\. \|)"
+ r"(([A-Za-z]+\-?)+)"
