[pypy-svn] pypy default: Try to fix posix tests on systems with unsuitable defaultencodings.

alex_gaynor commits-noreply at bitbucket.org
Fri Mar 11 16:44:06 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r42515:c6a32675ecd5
Date: 2011-03-11 10:43 -0500
http://bitbucket.org/pypy/pypy/changeset/c6a32675ecd5/

Log:	Try to fix posix tests on systems with unsuitable defaultencodings.

diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -131,7 +131,7 @@
                 py.test.skip("cannot runappdirect test: space needs %s = %s, "\
                     "while pypy-c was built with %s" % (key, value, has))
 
-        for name in ('int', 'long', 'str', 'unicode'):
+        for name in ('int', 'long', 'str', 'unicode', 'None'):
             setattr(self, 'w_' + name, eval(name))
 
 


More information about the Pypy-commit mailing list