[pypy-svn] r76165 - pypy/branch/unicode_filename-2/pypy/module/posix/test

afa at codespeak.net afa at codespeak.net
Mon Jul 12 22:37:46 CEST 2010


Author: afa
Date: Mon Jul 12 22:37:44 2010
New Revision: 76165

Modified:
   pypy/branch/unicode_filename-2/pypy/module/posix/test/test_posix2.py
Log:
Fix test on Linux


Modified: pypy/branch/unicode_filename-2/pypy/module/posix/test/test_posix2.py
==============================================================================
--- pypy/branch/unicode_filename-2/pypy/module/posix/test/test_posix2.py	(original)
+++ pypy/branch/unicode_filename-2/pypy/module/posix/test/test_posix2.py	Mon Jul 12 22:37:44 2010
@@ -32,6 +32,9 @@
     # even when running on top of CPython 2.4.
     os.stat_float_times(True)
 
+    # Initialize sys.filesystemencoding
+    space.call_function(space.sys.get('getfilesystemencoding'))
+
 def need_sparse_files():
     if sys.platform == 'darwin':
         py.test.skip("no sparse files on default Mac OS X file system")



More information about the Pypy-commit mailing list