Replies: 1 comment
-
My understanding is that we need to pass the exception group to the hook to support that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have (inherited) a
pytest_fixture_post_finalizer
hook which is trying to get and handle (display, etc) stack traces of exceptions thrown by fixture finalisers. Sincefixturedef.cached_result
only records exceptions on setup (pytest/src/_pytest/fixtures.py
Line 1205 in 01de0c1
Are there any suggestions or official guidance on how access fixture finaliser traceback(s) info from a plugin?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions