Don't exit test_main() with the lock 'done' held -- there's no cleaner
way to guarantee a deadlock on the next call!

If I've inadvertently done some damage to this test, sorry (but I don't
think I have).
diff --git a/Lib/test/test_threaded_import.py b/Lib/test/test_threaded_import.py
index 8bdae42..dc27d4e 100644
--- a/Lib/test/test_threaded_import.py
+++ b/Lib/test/test_threaded_import.py
@@ -51,6 +51,7 @@
         done.acquire()
         if verbose:
             print "OK."
+    done.release()
 
 if __name__ == "__main__":
     test_main()