diff options
author | Gregory P. Smith <greg@krypto.org> | 2017-08-25 01:15:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-25 01:15:02 (GMT) |
commit | a3a6df36b6e0d1d560f8fb2a4873d5b97329c454 (patch) | |
tree | bc22b81819b1d3918759d34f071d137a486f71c4 | |
parent | 8621bb5d93239316f97281826461b85072ff6db7 (diff) | |
download | cpython-a3a6df36b6e0d1d560f8fb2a4873d5b97329c454.zip cpython-a3a6df36b6e0d1d560f8fb2a4873d5b97329c454.tar.gz cpython-a3a6df36b6e0d1d560f8fb2a4873d5b97329c454.tar.bz2 |
Skip two tests not intended to pass on Windows. (#3202)
-rw-r--r-- | Lib/test/test_subprocess.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index ac70597..7d0708d 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1371,11 +1371,13 @@ class ProcessTestCase(BaseTestCase): fds_after_exception = os.listdir(fd_directory) self.assertEqual(fds_before_popen, fds_after_exception) + @unittest.skipIf(mswindows, "behavior currently not supported on Windows") def test_file_not_found_includes_filename(self): with self.assertRaises(FileNotFoundError) as c: subprocess.call(['/opt/nonexistent_binary', 'with', 'some', 'args']) self.assertEqual(c.exception.filename, '/opt/nonexistent_binary') + @unittest.skipIf(mswindows, "behavior currently not supported on Windows") def test_file_not_found_with_bad_cwd(self): with self.assertRaises(FileNotFoundError) as c: subprocess.Popen(['exit', '0'], cwd='/some/nonexistent/directory') |