Skip to content

Commit ae0289c

Browse files
committed
Fixing tests on PyPy
1 parent 47897c4 commit ae0289c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from domdf_python_tools.versions import Version, _iter_float, _iter_string, _prep_for_eq
1212

1313
pytestmark = pytest.mark.skipif(
14-
condition=sys.version_info <= (3, 6, 1) and platform.python_implementation() == "PyPy",
14+
condition=sys.version_info[:3] <= (3, 6, 1) and platform.python_implementation() == "PyPy",
1515
reason="Strange bug in PyPy 7.1.1/3.6.1 on Travis when subclassing from Tuple[int, int, int]"
1616
)
1717

0 commit comments

Comments
 (0)