]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28655: Fix test_import.test_missing_source_legacy() (GH-9589)
authorVictor Stinner <vstinner@redhat.com>
Wed, 26 Sep 2018 16:09:32 +0000 (09:09 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Sep 2018 16:09:32 +0000 (09:09 -0700)
commit43500a5907eb9ae2e470dcbffe73012cd456f5a1
tree07661e1f6b40f534f22fb9642b19525f4f469dba
parentdfa11135ce53967ac97550d0a9343d32c9958ac0
bpo-28655: Fix test_import.test_missing_source_legacy() (GH-9589)

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 d5d9e02dd3c6df06a8dd9ce75ee9b52976420a8b.

Co-Authored-By: Nick Coghlan <ncoghlan@gmail.com>
Lib/test/test_import/__init__.py