[Python-checkins] r54387 - in python/branches/release25-maint: Lib/test/test_cmd_line.py Misc/NEWS
martin.v.loewis
python-checkins at python.org
Wed Mar 14 21:02:40 CET 2007
Author: martin.v.loewis
Date: Wed Mar 14 21:02:38 2007
New Revision: 54387
Modified:
python/branches/release25-maint/Lib/test/test_cmd_line.py
python/branches/release25-maint/Misc/NEWS
Log:
Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
Modified: python/branches/release25-maint/Lib/test/test_cmd_line.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_cmd_line.py (original)
+++ python/branches/release25-maint/Lib/test/test_cmd_line.py Wed Mar 14 21:02:38 2007
@@ -6,7 +6,7 @@
class CmdLineTest(unittest.TestCase):
def start_python(self, cmd_line):
- outfp, infp = popen2.popen4('%s %s' % (sys.executable, cmd_line))
+ outfp, infp = popen2.popen4('"%s" %s' % (sys.executable, cmd_line))
infp.close()
data = outfp.read()
outfp.close()
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Wed Mar 14 21:02:38 2007
@@ -520,6 +520,8 @@
Tests
-----
+- Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
+
- Fix bsddb test_basics.test06_Transactions to check the version
number properly.
More information about the Python-checkins
mailing list