pytest-pudb icon indicating copy to clipboard operation
pytest-pudb copied to clipboard

Look at __tracebackhide__

Open asmeurer opened this issue 5 years ago • 0 comments

Functions like numpy.testing.assert_equal add __tracebackhide__ = True to their locals to make pytest ignore them in the traceback reporting. The --pudb flag should automatically jump up to the first frame that doesn't have __tracebackhide__, so that it starts on the same frame that is shown in the test failure traceback.

asmeurer avatar Jul 08 '20 22:07 asmeurer