You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with no hint as to where I could find the constituent exceptions of the MultiError. It turns out that all the frames it passed through after being raised were hidden:
It seems like maybe we should remove the __tracebackhide__ from _bootstrap_fixtures_and_run_test? If the traceback starts somewhere within the test, it's pretty obvious that this thing called _bootstrap_fixtures_and_run_test is a boundary above which you're not going to find your own code. If it starts in the raise MultiError line in that function, having the frame not hidden is pretty useful in understanding what happened.
The text was updated successfully, but these errors were encountered:
I use pdbpp, which understands
__tracebackhide__
like pytest does. Today,pytest --pdb
on a simultaneous fixture+test crash dumped me atwith no hint as to where I could find the constituent exceptions of the MultiError. It turns out that all the frames it passed through after being raised were hidden:
It seems like maybe we should remove the
__tracebackhide__
from_bootstrap_fixtures_and_run_test
? If the traceback starts somewhere within the test, it's pretty obvious that this thing called_bootstrap_fixtures_and_run_test
is a boundary above which you're not going to find your own code. If it starts in theraise MultiError
line in that function, having the frame not hidden is pretty useful in understanding what happened.The text was updated successfully, but these errors were encountered: