--- Lib/test/test_threading.py.orig 2008-08-19 03:45:09.000000000 +1000 +++ Lib/test/test_threading.py 2008-09-15 22:59:12.000000000 +1000 @@ -380,6 +380,9 @@ import os if not hasattr(os, 'fork'): return + # platforms with known problems forking from a worker thread + if sys.platform in ('freebsd4', 'freebsd5', 'freebsd6', 'os2emx'): + return script = """if 1: main_thread = threading.current_thread() def worker():