Skip test_threading.test_reinit_tls_after_fork() on platforms where fork()

can't be called reliably from a worker thread.
parent 73d1da39
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment