Skip to content

Overriding fixtures at the same level now triggers a warning.

Codecov / codecov/patch failed Dec 20, 2024 in 0s

37.50% of diff hit (target 96.32%)

View this Pull Request on Codecov

37.50% of diff hit (target 96.32%)

Annotations

Check warning on line 1838 in src/_pytest/fixtures.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/fixtures.py#L1838

Added line #L1838 was not covered by tests

Check warning on line 1845 in src/_pytest/fixtures.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/fixtures.py#L1845

Added line #L1845 was not covered by tests

Check warning on line 1849 in src/_pytest/fixtures.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/fixtures.py#L1848-L1849

Added lines #L1848 - L1849 were not covered by tests

Check warning on line 1852 in src/_pytest/fixtures.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/fixtures.py#L1851-L1852

Added lines #L1851 - L1852 were not covered by tests

Check warning on line 1854 in src/_pytest/fixtures.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/_pytest/fixtures.py#L1854

Added line #L1854 was not covered by tests