diff options
author | kernc <kerncece@gmail.com> | 2020-06-11 20:03:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 14:03:29 -0400 |
commit | 46398fba4d66ad342cf2504ef947b5fb857423b2 (patch) | |
tree | 307f5e4c871dff3f0b83b8e930b61fddaf362993 /Python/errors.c | |
parent | 436b648910c27baf8164a6d46d746d36d8a93478 (diff) | |
download | cpython-git-46398fba4d66ad342cf2504ef947b5fb857423b2.tar.gz |
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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions