From ebf691d64cde6492f075d65e9f87651124aa19f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Wed, 8 Feb 2012 21:27:56 +0100 Subject: [PATCH] Skip test_threading.test_reinit_tls_after_fork() on platforms where fork() can't be called reliably from a worker thread. --- Lib/test/test_threading.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index e617fa1275a..1a02ef2e314 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -636,6 +636,7 @@ class ThreadJoinOnShutdown(BaseTestCase): self.assertScriptHasOutput(script, output) @unittest.skipUnless(hasattr(os, 'fork'), "needs os.fork()") + @unittest.skipIf(sys.platform in platforms_to_skip, "due to known OS bug") def test_reinit_tls_after_fork(self): # Issue #13817: fork() would deadlock in a multithreaded program with # the ad-hoc TLS implementation.