diff options
author | Ned Deily <nad@acm.org> | 2013-08-03 01:05:31 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2013-08-03 01:05:31 (GMT) |
commit | 582583bc41523e13a295da9b8ea4dfe784b5071e (patch) | |
tree | 8f24bb3408bfaea9020fb2f0822ed2f4fb9c0b01 | |
parent | 95db2e7b8a0477ddf60902ca0aacdafbb265e5a5 (diff) | |
parent | e92dfbfec8db930c5960492c3d9470f3415e27a3 (diff) | |
download | cpython-582583bc41523e13a295da9b8ea4dfe784b5071e.zip cpython-582583bc41523e13a295da9b8ea4dfe784b5071e.tar.gz cpython-582583bc41523e13a295da9b8ea4dfe784b5071e.tar.bz2 |
Issue #17046: merge from 3.3
-rw-r--r-- | Lib/test/test_subprocess.py | 3 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 3bbb19c..470faff 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -416,7 +416,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 @@ -599,6 +599,8 @@ Library 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. |