Fix skip bug in which if exception group has all skips it reported error instead of skip#13741
Fix skip bug in which if exception group has all skips it reported error instead of skip#13741Zac-HD merged 2 commits intopytest-dev:mainfrom
Conversation
0380548 to
90fba0d
Compare
|
This PR also contains the commits from #13757, could you fix this please? Thanks! |
Done. |
bluetech
left a comment
There was a problem hiding this comment.
Didn't think too much about this, just some comments from reading the PR.
9adef4b to
2d37732
Compare
|
@bluetech Thanks for the review I fixed all the comments Summary of changes:
Note: checking if exceptions exist and its insides feels a bit hacky to me using open to suggestions, wasn't sure how much more energy should be spent on this since it's such a edge case scenario. i remember @bluetech mentioned flattening the exception group in #13650 maybe that is the way to go for better clarity and not having to explicitly check the insides of also so saw a suggestion for |
…d exceptions in teardown
|
@Zac-HD could you have another look see if something else needs doing ? |
Added handling for exception group with only skips inside of it to the reporter
fixes issue: #13537