diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2013-01-12 15:55:31 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2013-01-12 15:55:31 (GMT) |
commit | 6c566b3ce9a2c3b27f7f90ec0151d187403ead38 (patch) | |
tree | 4a44e3fbd50e70d276993bf32297bcfce0bc123a /Lib/test/test_subprocess.py | |
parent | 8f35e842eb2a92392821791d5d40356e61fa4cd9 (diff) | |
parent | dbc744ac74d69576ff801bee40e0fde607e7f62b (diff) | |
download | cpython-6c566b3ce9a2c3b27f7f90ec0151d187403ead38.zip cpython-6c566b3ce9a2c3b27f7f90ec0151d187403ead38.tar.gz cpython-6c566b3ce9a2c3b27f7f90ec0151d187403ead38.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.
Diffstat (limited to 'Lib/test/test_subprocess.py')
-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 3adf05c..172fe2d 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1360,6 +1360,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. |