From ef2bd67e2364ef92dab03442c07864a3a5e90b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Sat, 12 Jan 2013 16:52:20 +0100 Subject: [PATCH] Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill() returns ESRCH for a zombie process, which is not POSIX-compliant. --- Lib/test/test_subprocess.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 38844888fdb..69384ba0f49 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -892,6 +892,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.