summaryrefslogtreecommitdiff
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2012-02-08 21:29:11 +0100
committerCharles-François Natali <neologix@free.fr>2012-02-08 21:29:11 +0100
commit78f98d107cdbc1f15e2a93b0cffd2995e9c02c60 (patch)
treef4f587cef2d702dcbee8c6dc035910cc21f05d61 /Lib/test/test_threading.py
parentfde2b9fc3872945d58f0cbbbe7b83e3f31f6cd64 (diff)
downloadcpython-78f98d107cdbc1f15e2a93b0cffd2995e9c02c60.tar.gz
Skip test_threading.test_reinit_tls_after_fork() on platforms where fork()
can't be called reliably from a worker thread.
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r--Lib/test/test_threading.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index e3de16d76c..32637b5b29 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.