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
e865fba7
Commit
e865fba7
authored
Aug 02, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17046: Fix test_subprocess test_executable_without_cwd broken test case.
parent
79870b93
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/test/test_subprocess.py
Lib/test/test_subprocess.py
+2
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_subprocess.py
View file @
e865fba7
...
...
@@ -382,7 +382,8 @@ class ProcessTestCase(BaseTestCase):
def
test_executable_without_cwd
(
self
):
# For a normal installation, it should work without 'cwd'
# argument. For test runs in the build directory, see #7774.
self
.
_assert_cwd
(
''
,
"somethingyoudonthave"
,
executable
=
sys
.
executable
)
self
.
_assert_cwd
(
os
.
getcwd
(),
"somethingyoudonthave"
,
executable
=
sys
.
executable
)
def
test_stdin_pipe
(
self
):
# stdin redirection
...
...
Misc/NEWS
View file @
e865fba7
...
...
@@ -230,6 +230,8 @@ IDLE
Tests
-----
- Issue #17046: Fix broken test_executable_without_cwd in test_subprocess.
- Issue #15415: Add new temp_dir() and change_cwd() context managers to
test.support, and refactor temp_cwd() to use them. Patch by Chris Jerdonek.
...
...
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