diff options
author | Charles-François Natali <neologix@free.fr> | 2012-02-08 20:29:11 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2012-02-08 20:29:11 (GMT) |
commit | b2c9e9ad91542e28a77efabe6b16a7021ccc34d3 (patch) | |
tree | 0ae2cc1d55c4762641595b90c2dfb320a7194685 /Lib/test | |
parent | 73d1da3914e936da178c21184a991e80b3b6d3f8 (diff) | |
download | cpython-b2c9e9ad91542e28a77efabe6b16a7021ccc34d3.zip cpython-b2c9e9ad91542e28a77efabe6b16a7021ccc34d3.tar.gz cpython-b2c9e9ad91542e28a77efabe6b16a7021ccc34d3.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/test')
-rw-r--r-- | Lib/test/test_threading.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index e3de16d..32637b5 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. |