cpython/Lib/unittest
Miss Islington (bot) c63c8ac238
bpo-45046: Support context managers in unittest (GH-28045)
Add methods enterContext() and enterClassContext() in TestCase.
Add method enterAsyncContext() in IsolatedAsyncioTestCase.
Add function enterModuleContext().
(cherry picked from commit 086c6b1b0f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-05-08 08:12:19 -07:00
..
test bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
__init__.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
__main__.py
_log.py
async_case.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
case.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
loader.py bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
main.py bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) 2022-03-17 16:37:52 -07:00
mock.py bpo-46852: Remove the float.__set_format__() method (GH-31585) 2022-02-26 00:53:27 +01:00
result.py bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped from chained exceptions (GH-23688) 2022-03-08 21:43:49 +00:00
runner.py bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
signals.py
suite.py
util.py