Skip to content

ginormous traceback for cached exceptions #10362

Answered by RonnyPfannschmidt
pmeier asked this question in Q&A
Discussion options

You must be logged in to vote

at first glance it unclear whats happening there,
this is most likely a problem with raising/re-raising the exception and a unexpected interaction of the traceback from the exception info vs the traceback of the exception object vs the way exceptions and exception causes are tracked in python

this is most likely as side-effect of the way the exceptions get cached, however it probably should be considered a pytest bug that it happens
right now im unaware of the extra details needed to ensure python+pytest gets this right - a research into exceptions vs exception sources vs exception causes is necessary

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pmeier
Comment options

Answer selected by pmeier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants