cpython/Lib/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
..
__init__.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03: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 gh-97837: Change deprecation warning message in `unittest` (#97838) 2022-10-04 17:29:18 -07:00
case.py gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (GH-99646) 2022-11-22 17:49:37 +02:00
loader.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03: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 gh-98086: Now ``patch.dict`` can decorate async functions (#98095) 2022-11-11 08:04:30 +00:00
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
runner.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03: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