[Python-checkins] cpython (2.7): 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:24 CET 2013


http://hg.python.org/cpython/rev/61d6b34af419
changeset: 81454:61d6b34af419
branch: 2.7
parent: 81440:eae31f2b6f60
user: Charles-François Natali <cf.natali at gmail.com>
date: Sat Jan 12 16:52:20 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
@@ -892,6 +892,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

AltStyle によって変換されたページ (->オリジナル) /