From: Charles-François Natali Date: Sat, 24 Mar 2012 19:36:09 +0000 (+0100) Subject: Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due X-Git-Tag: v3.3.0a2~68^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e6fe648cc9ec6b2385c16231a0a44c44d5b032d;p=thirdparty%2FPython%2Fcpython.git Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due to a known bug in pthread implementation on FreeBSD < 7). --- diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 32637b5b29c8..dfc0ddf49c88 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -624,6 +624,7 @@ class ThreadJoinOnShutdown(BaseTestCase): output = "end of worker thread\nend of main thread\n" self.assertScriptHasOutput(script, output) + @unittest.skipIf(sys.platform in platforms_to_skip, "due to known OS bug") def test_6_daemon_threads(self): # Check that a daemon thread cannot crash the interpreter on shutdown # by manipulating internal structures that are being disposed of in