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:37:01 +01:00
commit 9384c7ddab
1 changed files with 1 additions and 0 deletions

View File

@ -632,6 +632,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