Skip to content

Files not correctly reported starting in 0.3.0 #105

Closed
@ke-kialo

Description

@ke-kialo

When upgrading to 0.3.0 we noticed that the filenames of the failing tests were no longer correctly reported. This did not happen in 0.2.0 for us. However, also in 0.2.0 we saw incorrect line numbers for the failing tests.
In 0.3.0, the filename and line reported instead points to code within a hook (@pytest.hookimpl(tryfirst=True)) where we wrap pyfuncitem.obj in a lambda.

Metadata

Metadata

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