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 | ef2bd67e2364ef92dab03442c07864a3a5e90b85 (patch) | |
tree | fc6160fbe06fdc97bafe7c0e827c201bfe61c91d | |
parent | dc157fcbd336628861b1b21d6050fb0488e77399 (diff) | |
download | cpython-ef2bd67e2364ef92dab03442c07864a3a5e90b85.zip cpython-ef2bd67e2364ef92dab03442c07864a3a5e90b85.tar.gz cpython-ef2bd67e2364ef92dab03442c07864a3a5e90b85.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.
-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 3884488..69384ba 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. |