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 bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
_log.py bpo-41943: Fix bug where assertLogs doesn't correctly filter messages… (GH-22565) 2020-11-02 11:25:29 -08:00
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 bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006) 2021-08-30 18:25:59 +02:00
util.py bpo-32360: unittest.util: Use Counter instead of custom count function (GH-4994) 2018-01-24 16:49:58 +09:00