Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53896:6e58d4a066e8
Date: 2012-03-22 14:10 +0100
http://bitbucket.org/pypy/pypy/changeset/6e58d4a066e8/

Log:    enable the array and struct modules, for test_array_write. Else the
        test imports the corresponding modules in lib_pypy, which are now
        broken because we no longer have buffer (and I am not sure that
        fixing them is a good idea)

diff --git a/pypy/module/_io/test/test_io.py b/pypy/module/_io/test/test_io.py
--- a/pypy/module/_io/test/test_io.py
+++ b/pypy/module/_io/test/test_io.py
@@ -160,7 +160,7 @@
 
 class AppTestOpen:
     def setup_class(cls):
-        cls.space = gettestobjspace(usemodules=['_io', '_locale'])
+        cls.space = gettestobjspace(usemodules=['_io', '_locale', 'array', 
'struct'])
         tmpfile = udir.join('tmpfile').ensure()
         cls.w_tmpfile = cls.space.wrap(str(tmpfile))
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to