summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2012-02-08 20:27:56 (GMT)
committerCharles-François Natali <neologix@free.fr>2012-02-08 20:27:56 (GMT)
commitebf691d64cde6492f075d65e9f87651124aa19f4 (patch)
tree547848345c17be5e280fb597d9a19cda3215b7a3 /Lib
parentc7fd523ac57a00901901f4278a72346742e0d7b1 (diff)
downloadcpython-ebf691d64cde6492f075d65e9f87651124aa19f4.zip
cpython-ebf691d64cde6492f075d65e9f87651124aa19f4.tar.gz
cpython-ebf691d64cde6492f075d65e9f87651124aa19f4.tar.bz2
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')
-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 e617fa1..1a02ef2 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.