[Python-checkins] r77419 - sandbox/trunk/2to3/lib2to3/tests/test_parser.py
benjamin.peterson
python-checkins at python.org
Sun Jan 10 21:39:49 CET 2010
Author: benjamin.peterson
Date: Sun Jan 10 21:39:48 2010
New Revision: 77419
Log:
enclose path in quotes to handle paths with spaces correctly #7666
Modified:
sandbox/trunk/2to3/lib2to3/tests/test_parser.py
Modified: sandbox/trunk/2to3/lib2to3/tests/test_parser.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/tests/test_parser.py (original)
+++ sandbox/trunk/2to3/lib2to3/tests/test_parser.py Sun Jan 10 21:39:48 2010
@@ -209,6 +209,6 @@
finally:
f.close()
try:
- return os.system("diff -u %s @" % fn)
+ return os.system("diff -u %r @" % fn)
finally:
os.remove("@")
More information about the Python-checkins
mailing list