Try to make test_threaded_import faster and safer (issue #15599).
Try to make test_threaded_import faster and safer (issue #15599).

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator