Author: Antonio Cuni <[email protected]>
Branch: 
Changeset: r53928:731a24c3d239
Date: 2012-03-22 21:06 +0100
http://bitbucket.org/pypy/pypy/changeset/731a24c3d239/

Log:    hopefully the last test for which we need to use the struct module

diff --git a/pypy/module/imp/test/test_import.py 
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -987,6 +987,10 @@
             os.environ['LANG'] = oldlang
 
 class AppTestImportHooks(object):
+
+    def setup_class(cls):
+        cls.space = gettestobjspace(usemodules=('struct',))
+    
     def test_meta_path(self):
         tried_imports = []
         class Importer(object):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to