Skip to content

Commit

Permalink
MNT skip test_min_dependencies_readme on PyPy (scikit-learn#20299)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel authored Jun 18, 2021
1 parent dc2b587 commit ffad00d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sklearn/tests/test_min_dependencies_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import os
import re
import platform
from pathlib import Path

import pytest
Expand All @@ -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]+\-?)+)"
Expand Down

0 comments on commit ffad00d

Please sign in to comment.