[3.6] bpo-28655: Fix test_import.test_missing_source_legacy() by vstinner · Pull Request #9589 · python/cpython

@vstinner @ncoghlan

bpo-28655, bpo-33053: test_import.test_missing_source_legacy() now
removes the .pyc file that it creates to avoid leaking a file.

Fix extract from commit d5d9e02.

Co-Authored-By: Nick Coghlan <ncoghlan@gmail.com>

serhiy-storchaka