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

This commit is contained in:
Martin v. Löwis 2007-03-14 20:02:38 +00:00
parent 1a5fe58cd4
commit 7520df439a
2 changed files with 3 additions and 1 deletions

View file

@ -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()

View file

@ -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.