diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2013-01-12 15:52:20 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2013-01-12 15:52:20 (GMT) |
commit | 53221e371d359c6df410ddd653350dd345ae3be5 (patch) | |
tree | d8a3cb30b4b773305a675bd4f9555f22f9e2d0f7 /Lib | |
parent | 7128e073e2565a10ad380839f6a609b4343f8be8 (diff) | |
download | cpython-53221e371d359c6df410ddd653350dd345ae3be5.zip cpython-53221e371d359c6df410ddd653350dd345ae3be5.tar.gz cpython-53221e371d359c6df410ddd653350dd345ae3be5.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')
-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 75eb852..921328f 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1206,6 +1206,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. |