[Python-checkins] cpython (merge 3.3 -> default): Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
charles-francois.natali
python-checkins at python.org
Sat Jan 12 16:56:28 CET 2013
http://hg.python.org/cpython/rev/487ed428f0ba
changeset: 81457:487ed428f0ba
parent: 81453:7bdeeed5960c
parent: 81456:a3f0414af55b
user: Charles-François Natali <cf.natali at gmail.com>
date: Sat Jan 12 16:55:31 2013 +0100
summary:
Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
files:
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
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -1360,6 +1360,8 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list