Skip to content

run_trial: Use __tracebackhide__ to walk up the stack when displaying locals #19

@moi90

Description

@moi90

When using testing assertions like np.assert_array_equal that use __tracebackhide__, it does not make sense to display their locals in the error output, but the locals of the parent stack frame.

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