SIGN IN SIGN UP

bpo-29620: iterate over a copy of sys.modules (GH-4800)

unittest.TestCase.assertWarns no longer raises a RuntimeException
when accessing a module's ``__warningregistry__`` causes importation of a new
module, or when a new module is imported in another thread. 

Patch by Kernc.
K
kernc committed
46398fba4d66ad342cf2504ef947b5fb857423b2
Parent: 436b648
Committed by GitHub <noreply@github.com> on 6/11/2020, 6:03:29 PM