Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due

to a known bug in pthread implementation on FreeBSD < 7).
This commit is contained in:
Charles-François Natali 2012-03-24 20:36:09 +01:00
parent 2dee394af9
commit 8e6fe648cc
1 changed files with 1 additions and 0 deletions

View 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