Add a new function imp.lock_held(), and use it to skip test_threaded_import
when that test is doomed to deadlock.
4 files changed