Fix teardown error reporting when --maxfail=1
#11721
58.33% of diff hit (target 96.56%)
View this Pull Request on Codecov
58.33% of diff hit (target 96.56%)
Annotations
Check warning on line 590 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L590
Added line #L590 was not covered by tests
Check warning on line 597 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L596-L597
Added lines #L596 - L597 were not covered by tests
Check warning on line 608 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L608
Added line #L608 was not covered by tests
Check warning on line 615 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L614-L615
Added lines #L614 - L615 were not covered by tests
Check warning on line 137 in src/_pytest/runner.py
codecov / codecov/patch
src/_pytest/runner.py#L137
Added line #L137 was not covered by tests