diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-03-14 20:02:38 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-03-14 20:02:38 +0000 |
commit | 7520df439a9cd3eff2ae39802e9331df17018d75 (patch) | |
tree | 0d0ef5d12b43a5bb7092611b0cb564cc5c97000e | |
parent | 1a5fe58cd49477e5678df141f01f08b01fc9a449 (diff) | |
download | cpython-git-7520df439a9cd3eff2ae39802e9331df17018d75.tar.gz |
Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
-rw-r--r-- | Lib/test/test_cmd_line.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 5e898634d9..cacae7a697 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -6,7 +6,7 @@ import subprocess 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() @@ -520,6 +520,8 @@ Extension Modules 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. |