Skip to content

code: handle repr'ing empty tracebacks gracefully

Codecov / codecov/patch failed Apr 13, 2023 in 0s

41.17% of diff hit (target 96.72%)

View this Pull Request on Codecov

41.17% of diff hit (target 96.72%)

Annotations

Check warning on line 421 in src/_pytest/_code/code.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/_code/code.py#L421

Added line #L421 was not covered by tests

Check warning on line 820 in src/_pytest/_code/code.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/_code/code.py#L820

Added line #L820 was not covered by tests

Check warning on line 870 in src/_pytest/_code/code.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/_code/code.py#L869-L870

Added lines #L869 - L870 were not covered by tests

Check warning on line 877 in src/_pytest/_code/code.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/_code/code.py#L877

Added line #L877 was not covered by tests

Check warning on line 350 in src/_pytest/reports.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/reports.py#L350

Added line #L350 was not covered by tests