cpython/Lib/unittest/test
Serhiy Storchaka 08d9e597c8
bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006)
* Functions registered with addModuleCleanup() were not called unless
  the user defines tearDownModule() in their test module.
* Functions registered with addClassCleanup() were not called if
  tearDownClass is set to None.
* Buffering in TestResult did not work with functions registered
  with addClassCleanup() and addModuleCleanup().
* Errors in functions registered with addClassCleanup() and
  addModuleCleanup() were not handled correctly in buffered and
  debug modes.
* Errors in setUpModule() and functions registered with
  addModuleCleanup() were reported in wrong order.
* And several lesser bugs.
2021-08-30 18:25:59 +02:00
..
testmock bpo-44017: Update test_contextlib_async not to emit DeprecationWarn (GH-25918) 2021-05-06 23:10:52 +09:00
__init__.py
__main__.py
_test_warnings.py
dummy.py
support.py
test_assertions.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_async_case.py bpo-41322: Add unit tests for deprecation of test return values (GH-27846) 2021-08-22 21:32:45 +03:00
test_break.py bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799) 2018-06-20 11:29:33 +02:00
test_case.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_discovery.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_functiontestcase.py
test_loader.py bpo-35767: Fix unittest.loader to allow partials as test_functions (#11600) 2019-01-23 21:57:25 +01:00
test_program.py bpo-40462: fix variable and function names (GH-19832) 2020-05-01 05:49:35 -07:00
test_result.py bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006) 2021-08-30 18:25:59 +02:00
test_runner.py bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006) 2021-08-30 18:25:59 +02:00
test_setups.py
test_skipping.py bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030) 2021-08-30 15:16:25 +02:00
test_suite.py