[pypy-svn] r70404 - pypy/trunk/pypy/lib/app_test
afa at codespeak.net
afa at codespeak.net
Mon Jan 4 19:48:48 CET 2010
Author: afa
Date: Mon Jan 4 19:48:47 2010
New Revision: 70404
Modified:
pypy/trunk/pypy/lib/app_test/test_runpy.py
Log:
Fix test_runpy on Windows ('c:\temp' needs to be escaped correctly)
Modified: pypy/trunk/pypy/lib/app_test/test_runpy.py
==============================================================================
--- pypy/trunk/pypy/lib/app_test/test_runpy.py (original)
+++ pypy/trunk/pypy/lib/app_test/test_runpy.py Mon Jan 4 19:48:47 2010
@@ -102,7 +102,7 @@
if verbose: print " Next level in:", sub_dir
pkg_fname = os.path.join(sub_dir, init_fname)
pkg_file = open(pkg_fname, "w")
- pkg_file.write("__path__ = ['%s']\n" % sub_dir)
+ pkg_file.write("__path__ = [%r]\n" % sub_dir)
pkg_file.close()
if verbose: print " Created:", pkg_fname
mod_fname = os.path.join(sub_dir, test_fname)
More information about the Pypy-commit
mailing list