Skip to content

Commit 67c9c20

Browse files
committed
Don't run "release" tests on PyPy
1 parent 1eeeb7f commit 67c9c20

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cytoolz/tests/dev_skip_test.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- toolz is the correct version
1111
- cytoolz is a release version
1212
"""
13+
import sys
1314
import cytoolz
1415

1516
istest = lambda func: setattr(func, '__test__', True) or func
@@ -25,8 +26,9 @@
2526
do_toolz_tests = toolz.__version__.startswith(cytoolz.__toolz_version__)
2627
do_toolz_tests &= '+' not in cytoolz.__version__
2728

28-
# Decorator used to skip tests for developmental versions of CyToolz
29-
if do_toolz_tests:
29+
# Decorator used to skip tests for developmental versions of CyToolz.
30+
# Also, skip these tests on PyPy, which may handle docs differently.
31+
if do_toolz_tests and sys.implementation.name != "pypy":
3032
dev_skip_test = istest
3133
else:
3234
dev_skip_test = nottest

0 commit comments

Comments
 (0)