Skip to content

Look at __tracebackhide__ #22

Description

@asmeurer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions