cpython/Lib/unittest/test
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
..
testmock bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
__init__.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
__main__.py Issue #19013: add a __main__ to unittest.test to ease CLI invocation 2013-09-14 00:37:18 +02:00
_test_warnings.py bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
dummy.py Merged revisions 79464,79471,79623,79626,79630,79632,79643,79648-79649,79679,79685,79711,79761,79774,79777,79792-79794,79877,79898-79900 via svnmerge from 2010-04-11 20:43:16 +00:00
support.py Issue #24245: Eliminated senseless expect clauses that have no any effect. 2015-05-20 16:10:04 +03:00
test_assertions.py bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
test_async_case.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_break.py bpo-46709: check eval breaker in specialized CALL opcodes (GH-31404) 2022-02-18 12:56:23 +00:00
test_case.py Simplify testing the warning filename (GH-91868) 2022-04-24 10:23:59 +03:00
test_discovery.py bpo-23882: unittest: Drop PEP 420 support from discovery. (GH-29745) 2022-01-10 10:38:33 +09:00
test_functiontestcase.py bpo-30856: Update TestResult early, without buffering in _Outcome (GH-28180) 2021-09-19 15:24:38 +03:00
test_loader.py Simplify testing the warning filename (GH-91868) 2022-04-24 10:23:59 +03:00
test_program.py gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
test_result.py bpo-14265: Adds fully qualified test name to unittest output (GH-32138) 2022-03-29 18:02:09 +03:00
test_runner.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_setups.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
test_skipping.py bpo-30856: Update TestResult early, without buffering in _Outcome (GH-28180) 2021-09-19 15:24:38 +03:00
test_suite.py #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. 2014-08-07 03:20:22 +03:00