cpython/Lib/test/test_unittest
AlexTate 72ec518203
gh-98458: unittest: bugfix for infinite loop while handling chained exceptions that contain cycles (#98459)
* Bugfix addressing infinite loop while handling self-referencing chained exception in TestResult._clean_tracebacks()
* Bugfix extended to properly handle exception cycles in _clean_tracebacks. The "seen" set follows the approach used in the TracebackException class (thank you @iritkatriel for pointing it out)
* adds a test for a single chained exception that holds a self-loop in its __cause__ and __context__ attributes
2022-12-04 11:37:55 -08:00
..
testmock gh-98086: Now ``patch.dict`` can decorate async functions (#98095) 2022-11-11 08:04:30 +00:00
__init__.py
__main__.py
_test_warnings.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03:00
dummy.py
support.py
test_assertions.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03:00
test_async_case.py Add more details in test_unittest (GH-99626) 2022-11-21 13:57:30 +02:00
test_break.py
test_case.py gh-97837: Change deprecation warning message in `unittest` (#97838) 2022-10-04 17:29:18 -07:00
test_discovery.py
test_functiontestcase.py
test_loader.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03:00
test_program.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03:00
test_result.py gh-98458: unittest: bugfix for infinite loop while handling chained exceptions that contain cycles (#98459) 2022-12-04 11:37:55 -08:00
test_runner.py gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (GH-99646) 2022-11-22 17:49:37 +02:00
test_setups.py
test_skipping.py
test_suite.py