From b2c9e9ad91542e28a77efabe6b16a7021ccc34d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Wed, 8 Feb 2012 21:29:11 +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 e3de16d76c0..32637b5b29c 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -667,6 +667,7 @@ class ThreadJoinOnShutdown(BaseTestCase): self.assertFalse(err) @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.