[pypy-svn] pypy default: Enable the _locale module for the tests to pass

amauryfa commits-noreply at bitbucket.org
Mon Jan 31 17:33:15 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r41499:749327a77615
Date: 2011-01-31 17:32 +0100
http://bitbucket.org/pypy/pypy/changeset/749327a77615/

Log:	Enable the _locale module for the tests to pass

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
@@ -141,6 +141,7 @@
 
 class AppTestOpen:
     def setup_class(cls):
+        cls.space = gettestobjspace(usemodules=['_io', '_locale'])
         tmpfile = udir.join('tmpfile').ensure()
         cls.w_tmpfile = cls.space.wrap(str(tmpfile))
 


More information about the Pypy-commit mailing list