Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cd1210a5
Commit
cd1210a5
authored
Mar 14, 2007
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
Will backport.
parent
71436f02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_cmd_line.py
Lib/test/test_cmd_line.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_cmd_line.py
View file @
cd1210a5
...
...
@@ -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
()
...
...
Misc/NEWS
View file @
cd1210a5
...
...
@@ -624,6 +624,8 @@ Extension Modules
Tests
-----
- Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
- Added test.test_support.TransientResource which is a context manager to
surround calls to resources that are not guaranteed to work even if
test.test_support.requires says that the resource should exist.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment