[pypy-commit] pypy py3.5: Try to fix test_code_module.py

rlamy pypy.commits at gmail.com
Tue Oct 11 12:43:19 EDT 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r87713:aa643d440c39
Date: 2016-10-11 17:42 +0100
http://bitbucket.org/pypy/pypy/changeset/aa643d440c39/

Log:	Try to fix test_code_module.py

diff --git a/pypy/module/test_lib_pypy/test_code_module.py b/pypy/module/test_lib_pypy/test_code_module.py
--- a/pypy/module/test_lib_pypy/test_code_module.py
+++ b/pypy/module/test_lib_pypy/test_code_module.py
@@ -2,10 +2,7 @@
 
 
 class AppTestCodeModule:
-
-    def setup_class(cls):
-        if cls.runappdirect:
-            py.test.skip("CPython's code module doesn't yet support this")
+    spaceconfig = {'usemodules': ['struct']}
 
     def w_get_interp(self):
         import code


More information about the pypy-commit mailing list