cpython/Lib/unittest
Miss Islington (bot) 71d842b9c1
bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-29605)
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.
(cherry picked from commit 46398fba4d)

Co-authored-by: kernc <kerncece@gmail.com>
2021-11-18 17:09:41 +01:00
..
test bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-29605) 2021-11-18 17:09:41 +01:00
__init__.py bpo-40275: Avoid importing asyncio in test.support (GH-19600) 2020-04-25 10:04:10 +03:00
__main__.py
_log.py bpo-40275: Avoid importing logging in test.support (GH-19601) 2020-04-25 11:35:18 +03:00
async_case.py [3.9] Fix typos in the Lib directory (GH-28775) (GH-28803) 2021-10-07 08:42:38 -07:00
case.py bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-29605) 2021-11-18 17:09:41 +01:00
loader.py
main.py
mock.py bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300) 2021-09-14 03:50:28 -07:00
result.py Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
runner.py
signals.py
suite.py [3.9] bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006) (GH-28071) 2021-08-30 19:22:21 +02:00
util.py