diff Lib/test/test_threading.py @ 75916:2456e4e69cd0 3.2

Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due to a known bug in pthread implementation on FreeBSD < 7).
author Charles-François Natali <neologix@free.fr>
date Sat, 24 Mar 2012 20:36:09 +0100
parents 29b83d3d40d0
children 41c64c700e1e c1191cbc7b37
line wrap: on
line diff
--- a/Lib/test/test_threading.py	Sat Mar 24 17:39:57 2012 +0100
+++ b/Lib/test/test_threading.py	Sat Mar 24 20:36:09 2012 +0100
@@ -624,6 +624,7 @@
         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