Add discover_imports
in conf, don't collect imported classes named Test* closes #12749`
#12810
+362
−3
Codecov / codecov/patch
failed
Oct 1, 2024 in 1s
25.00% of diff hit (target 96.71%)
View this Pull Request on Codecov
25.00% of diff hit (target 96.71%)
Annotations
Check warning on line 980 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L979-L980
Added lines #L979 - L980 were not covered by tests
Check warning on line 982 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L982
Added line #L982 was not covered by tests
Check warning on line 998 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L997-L998
Added lines #L997 - L998 were not covered by tests
Check warning on line 1000 in src/_pytest/main.py
codecov / codecov/patch
src/_pytest/main.py#L1000
Added line #L1000 was not covered by tests
Loading