Skip to content

Fix assert rewriting with assignment expressions (#11414)

Codecov / codecov/patch failed Sep 9, 2023 in 1s

62.50% of diff hit (target 96.78%)

View this Pull Request on Codecov

62.50% of diff hit (target 96.78%)

Annotations

Check warning on line 1029 in src/_pytest/assertion/rewrite.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/assertion/rewrite.py#L1029

Added line #L1029 was not covered by tests

Check warning on line 1075 in src/_pytest/assertion/rewrite.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/assertion/rewrite.py#L1075

Added line #L1075 was not covered by tests

Check warning on line 1085 in src/_pytest/assertion/rewrite.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/assertion/rewrite.py#L1085

Added line #L1085 was not covered by tests

Check warning on line 1124 in src/_pytest/assertion/rewrite.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/assertion/rewrite.py#L1124

Added line #L1124 was not covered by tests

Check warning on line 1128 in src/_pytest/assertion/rewrite.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/assertion/rewrite.py#L1128

Added line #L1128 was not covered by tests

Check warning on line 1148 in src/_pytest/assertion/rewrite.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/assertion/rewrite.py#L1148

Added line #L1148 was not covered by tests