Skip to content

Terrible user experience if test_exceptions.ExceptionTests.test_recursion_normalizing_infinite_exception fails #117606

Closed
@AlexWaygood

Description

@AlexWaygood

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

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions