diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2013-01-12 15:54:45 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2013-01-12 15:54:45 (GMT) |
commit | dbc744ac74d69576ff801bee40e0fde607e7f62b (patch) | |
tree | 122f3ab4c6dd73766eeb4433a0b1a1f42eb4dd35 /Lib/test/test_subprocess.py | |
parent | c31f77355cef1307d58bbbca07b85a134db8d04e (diff) | |
parent | 53221e371d359c6df410ddd653350dd345ae3be5 (diff) | |
download | cpython-dbc744ac74d69576ff801bee40e0fde607e7f62b.zip cpython-dbc744ac74d69576ff801bee40e0fde607e7f62b.tar.gz cpython-dbc744ac74d69576ff801bee40e0fde607e7f62b.tar.bz2 |
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
Diffstat (limited to 'Lib/test/test_subprocess.py')
-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 63fa9a7..ff74e87 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1360,6 +1360,8 @@ class POSIXProcessTestCase(BaseTestCase): getattr(p, method)(*args) return p + @unittest.skipIf(sys.platform.startswith(('netbsd', 'openbsd')), + "Due to known OS bug (issue #16762)") def _kill_dead_process(self, method, *args): # Do not inherit file handles from the parent. # It should fix failures on some platforms. |