We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eeeb7f commit 67c9c20Copy full SHA for 67c9c20
cytoolz/tests/dev_skip_test.py
@@ -10,6 +10,7 @@
10
- toolz is the correct version
11
- cytoolz is a release version
12
"""
13
+import sys
14
import cytoolz
15
16
istest = lambda func: setattr(func, '__test__', True) or func
@@ -25,8 +26,9 @@
25
26
do_toolz_tests = toolz.__version__.startswith(cytoolz.__toolz_version__)
27
do_toolz_tests &= '+' not in cytoolz.__version__
28
-# Decorator used to skip tests for developmental versions of CyToolz
29
-if do_toolz_tests:
+# 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":
32
dev_skip_test = istest
33
else:
34
dev_skip_test = nottest
0 commit comments