diff -r 27b5bd5f0e4c Lib/test/test_threaded_import.py --- a/Lib/test/test_threaded_import.py Sat Sep 01 15:00:34 2012 +0200 +++ b/Lib/test/test_threaded_import.py Sat Sep 01 16:50:58 2012 +0200 @@ -225,9 +225,10 @@ @reap_threads def test_main(): old_switchinterval = None + new_switchinterval = 0.00001 if 'freebsd' in sys.platform else 0.00000001 try: old_switchinterval = sys.getswitchinterval() - sys.setswitchinterval(0.00000001) + sys.setswitchinterval(new_switchinterval) except AttributeError: pass