Skip to content

Conversation

@Cheukting
Copy link
Contributor

@Cheukting Cheukting commented Jun 23, 2022

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 Cheukting marked this pull request as draft June 23, 2022 03:46
@Cheukting Cheukting force-pushed the handle_exceptiongroup branch 3 times, most recently from d95ddd9 to 5e729b8 Compare June 23, 2022 07:02
@Cheukting Cheukting force-pushed the handle_exceptiongroup branch 5 times, most recently from 4ec664d to d38da9d Compare June 23, 2022 07:45
@Cheukting Cheukting force-pushed the handle_exceptiongroup branch from 642fff8 to be502f9 Compare June 23, 2022 07:48
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while this addresses #9159 its not a solution (which would be support in ExceptionInfo)

the amount of work to do that is unclear

@RonnyPfannschmidt
Copy link
Member

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

@Cheukting
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants