Commits

Anonymous 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

         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.