Commit 7520df43 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #1559413: Fix test_cmd_line if sys.executable contains a space.

parent 1a5fe58c
...@@ -6,7 +6,7 @@ import subprocess ...@@ -6,7 +6,7 @@ import subprocess
class CmdLineTest(unittest.TestCase): class CmdLineTest(unittest.TestCase):
def start_python(self, cmd_line): 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() infp.close()
data = outfp.read() data = outfp.read()
outfp.close() outfp.close()
......
...@@ -520,6 +520,8 @@ Extension Modules ...@@ -520,6 +520,8 @@ Extension Modules
Tests Tests
----- -----
- Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
- Fix bsddb test_basics.test06_Transactions to check the version - Fix bsddb test_basics.test06_Transactions to check the version
number properly. number properly.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment