mirror of
https://github.com/python/cpython
synced 2026-11-23 00:04:08 +03:00
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.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| test | ||
| __init__.py | ||
| __main__.py | ||
| case.py | ||
| loader.py | ||
| main.py | ||
| mock.py | ||
| result.py | ||
| runner.py | ||
| signals.py | ||
| suite.py | ||
| util.py | ||