Author: Manuel Jacob <m...@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")
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to