Skip to content

pytest rethrows Exception poorly. losing traceback information. #1516

Closed
@SuperDoxin

Description

@SuperDoxin

In config.py pytest catches all Exceptions and rethrows them (poorly) as conftestImportFailure, losing the original traceback. this makes bug hunting rather tricky since the traceback pytest gives doesn't point at all to the cause of the error.

either throwing the original exception or rethrowing properly would be a good solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions