diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-06 15:46:09 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-06 15:46:09 (GMT) |
commit | 7e3cde590140052776ad219817e7bd7b87e3d4cd (patch) | |
tree | 8fcf0c172f823190d89dc0e50f9a9f1af374a2f8 /Lib | |
parent | ac0f965fd0d33da64f42d1a7ece1a66c80c3ff52 (diff) | |
parent | a2028733ef072740921017e544d29d191fdb2c9c (diff) | |
download | cpython-7e3cde590140052776ad219817e7bd7b87e3d4cd.zip cpython-7e3cde590140052776ad219817e7bd7b87e3d4cd.tar.gz cpython-7e3cde590140052776ad219817e7bd7b87e3d4cd.tar.bz2 |
revert accidental inclusion of subprocess tests
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_subprocess.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 5494feb..6fc6108 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -192,28 +192,6 @@ class ProcessTestCase(BaseTestCase): p.wait() self.assertEqual(p.stderr, None) - @unittest.skipIf(mswindows, "path not included in Windows message") - def test_path_in_arg_not_found_message(self): - # Check that the error message displays the path not found when - # args[0] is not found. - self.assertRaisesRegex(FileNotFoundError, "notfound_blahblah", - subprocess.Popen, ["notfound_blahblah"]) - - @unittest.skipIf(mswindows, "path not displayed in Windows message") - def test_path_in_executable_not_found_message(self): - # Check that the error message displays the executable argument (and - # not args[0]) when the executable argument is not found - # (issue #16114). - # We call sys.exit() inside the code to prevent the test runner - # from hanging if the test fails and finds python. - self.assertRaisesRegex(FileNotFoundError, "notfound_blahblah", - subprocess.Popen, [sys.executable, "-c", - "import sys; sys.exit(47)"], - executable="notfound_blahblah") - self.assertRaisesRegex(FileNotFoundError, "exenotfound_blahblah", - subprocess.Popen, ["argnotfound_blahblah"], - executable="exenotfound_blahblah") - # For use in the test_cwd* tests below. def _normalize_cwd(self, cwd): # Normalize an expected cwd (for Tru64 support). |