Index: Lib/test/test_ssl.py =================================================================== --- Lib/test/test_ssl.py (revision 81162) +++ Lib/test/test_ssl.py (working copy) @@ -182,6 +182,8 @@ finally: s.close() + @unittest.skipIf(sys.platform.startswith('openbsd'), + "OpenBSD has issues in libpthread") @unittest.skipIf(os.name == "nt", "Can't use a socket as a file under Windows") def test_makefile_close(self): # Issue #5238: creating a file-like object with makefile() shouldn't Index: Lib/test/test_socket.py =================================================================== --- Lib/test/test_socket.py (revision 81162) +++ Lib/test/test_socket.py (working copy) @@ -1142,6 +1142,8 @@ if not ok: self.fail("accept() returned success when we did not expect it") + @unittest.skipIf(sys.platform.startswith('openbsd'), + "OpenBSD has issues in libpthread") def testInterruptedTimeout(self): # XXX I don't know how to do this test on MSWindows or any other # plaform that doesn't support signal.alarm() or os.kill(), though Index: Lib/test/test_signal.py =================================================================== --- Lib/test/test_signal.py (revision 81162) +++ Lib/test/test_signal.py (working copy) @@ -226,6 +226,8 @@ after_time = time.time() self.assertTrue(after_time - mid_time < self.TIMEOUT_HALF) + @unittest.skipIf(sys.platform.startswith('openbsd'), + "OpenBSD has issues in libpthread") def test_wakeup_fd_during(self): import select @@ -318,6 +320,8 @@ raise return True + @unittest.skipIf(sys.platform.startswith('openbsd'), + "OpenBSD has issues in libpthread") def test_without_siginterrupt(self): """If a signal handler is installed and siginterrupt is not called at all, when that signal arrives, it interrupts a syscall that's in @@ -329,6 +333,8 @@ i = self.readpipe_interrupted() self.assertTrue(i) + @unittest.skipIf(sys.platform.startswith('openbsd'), + "OpenBSD has issues in libpthread") def test_siginterrupt_on(self): """If a signal handler is installed and siginterrupt is called with a true value for the second argument, when that signal arrives, it @@ -440,6 +446,8 @@ # and the handler should have been called self.assertEquals(self.hndl_called, True) + @unittest.skipIf(sys.platform.startswith('openbsd'), + "OpenBSD has issues in libpthread") # Issue 3864. Unknown if this affects earlier versions of freebsd also. @unittest.skipIf(sys.platform=='freebsd6', 'itimer not reliable (does not mix well with threading) on freebsd6') Index: Lib/test/test_subprocess.py =================================================================== --- Lib/test/test_subprocess.py (revision 81162) +++ Lib/test/test_subprocess.py (working copy) @@ -666,6 +666,8 @@ "{} attempts".format(method, args, count)) return p + @unittest.skipIf(sys.platform.startswith('openbsd'), + "OpenBSD has issues in libpthread") def test_send_signal(self): p = self._kill_process('send_signal', signal.SIGINT) _, stderr = p.communicate()