Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due
to a known bug in pthread implementation on FreeBSD < 7).
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 32637b5..dfc0ddf 100644
--- 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