mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
This commit is contained in:
parent
1a5fe58cd4
commit
7520df439a
2 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue