Closed
Description
Bug report
Bug description:
If test_exceptions.ExceptionTests.test_recursion_normalizing_infinite_exception
fails, a huge amount of output is printed to the terminal, which is a pretty terrible user experience. The full output is here: exception_tb.txt.
To reproduce, run FORCE_COLOR ./python.exe -m unittest -v test.test_exceptions.ExceptionTests.test_recursion_normalizing_infinite_exception
.
(Note that this issue isn't about the test failing when FORCE_COLOR
is set. #117605 is about that. This issue is about the poor user experience if the test fails.)
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS