[Python-checkins] cpython (3.2): Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due

charles-francois.natali python-checkins at python.org
Sat Mar 24 20:37:43 CET 2012


http://hg.python.org/cpython/rev/2456e4e69cd0
changeset:   75916:2456e4e69cd0
branch:      3.2
parent:      75913:ff679f22682b
user:        Charles-François Natali <neologix at free.fr>
date:        Sat Mar 24 20:36:09 2012 +0100
summary:
  Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due
to a known bug in pthread implementation on FreeBSD < 7).

files:
  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
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list