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
__init__.py
__main__.py
_test_warnings.py
dummy.py
support.py
test_assertions.py
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
test_discovery.py
test_functiontestcase.py
test_loader.py
test_program.py
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