pytest icon indicating copy to clipboard operation
pytest copied to clipboard

fall back to native when handeling to exception groups

Open Cheukting opened this issue 3 years ago • 2 comments

Showing inner exceptions in ExceptionGroups when using display options other than --tb=native.

Currently, the solution is it falls back on using a native display to show the inner exceptions but is happy to do a more custom display if needed.

see #9159

Cheukting avatar Jun 23 '22 03:06 Cheukting

please note that im happy to merge this one as a first step towards full support, but the change note should clarify that it enforces native instead of supporting them

also the issue has to remain open until a pytest-native implementation is/was done

RonnyPfannschmidt avatar Jun 23 '22 07:06 RonnyPfannschmidt

please note that im happy to merge this one as a first step towards full support, but the change note should clarify that it enforces native instead of supporting them

also the issue has to remain open until a pytest-native implementation is/was done

Agree on that. I am happy to help with the pytest-native implementation but I got the idea that it may be a lot of work and I can change this PR as a temporary workaround rather than a full fix to the issue.

Cheukting avatar Jun 23 '22 07:06 Cheukting