1. python_mirrors
  2. cpython


Charles-François Natali  committed 58ce6ac Draft

Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.

  • Participants
  • Parent commits 3d54723
  • Branches 3.2

Comments (0)

Files changed (1)

File Lib/test/test_subprocess.py

View file
         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.