[pypy-commit] pypy py3.5: Skip test_importlib.frozen package from lib-python test suite.
mjacob
pypy.commits at gmail.com
Thu Mar 16 18:16:29 EDT 2017
Author: Manuel Jacob <me at manueljacob.de>
Branch: py3.5
Changeset: r90733:f6376456fff5
Date: 2017-03-16 23:13 +0100
http://bitbucket.org/pypy/pypy/changeset/f6376456fff5/
Log: Skip test_importlib.frozen package from lib-python test suite.
PyPy doesn't have frozen modules (in the sense of CPython's).
diff --git a/lib-python/3/test/test_importlib/frozen/__init__.py b/lib-python/3/test/test_importlib/frozen/__init__.py
--- a/lib-python/3/test/test_importlib/frozen/__init__.py
+++ b/lib-python/3/test/test_importlib/frozen/__init__.py
@@ -1,5 +1,10 @@
import os
-from test.support import load_package_tests
+import unittest
+from test.support import load_package_tests, check_impl_detail
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
+
+
+if check_impl_detail(pypy=True):
+ raise unittest.SkipTest("PyPy doesn't have frozen modules")
More information about the pypy-commit
mailing list