]> granicus.if.org Git - python/commitdiff
Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due
authorCharles-François Natali <neologix@free.fr>
Sat, 24 Mar 2012 19:36:09 +0000 (20:36 +0100)
committerCharles-François Natali <neologix@free.fr>
Sat, 24 Mar 2012 19:36:09 +0000 (20:36 +0100)
to a known bug in pthread implementation on FreeBSD < 7).

Lib/test/test_threading.py

index 32637b5b29c8a00f5ad349df629ccab239037fce..dfc0ddf49c8843e5390d422a5d799b59493c8ffb 100644 (file)
@@ -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