]> granicus.if.org Git - python/commit
[3.6] bpo-31234: test_threaded_import: fix test_side_effect_import() (GH-3189) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 Sep 2017 10:27:45 +0000 (03:27 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 13 Sep 2017 10:27:45 +0000 (03:27 -0700)
commit89bfc9b0d9033f7c9f086c7281a31a489fe1136f
tree27826b9d3176d0900fd46a8f41b9f883474aeb96
parent1b00bddd5c4a5728b15eee5a27ed3f78a173ef64
[3.6] bpo-31234: test_threaded_import: fix test_side_effect_import() (GH-3189) (#3537)

* Don't leak the module into sys.modules
* Avoid dangling thread
(cherry picked from commit 41bbd82b6b6a887e893974fa5cdaae7782ae6cac)
Lib/test/test_threaded_import.py