pytest_collection_finish should be aware of collection errors (session status) #6096
Labels
topic: collection
related to the collection phase
type: enhancement
new feature or API change, should be merged into features branch
Currently it is not possible for plugins to now if there is a failure already.
pytest/src/_pytest/main.py
Lines 436 to 447 in 1c2fed3
Should be more in line with
wrap_session
likely, and might be good to have excinfo there additionally to the expected exitcode.pytest/src/_pytest/main.py
Lines 182 to 224 in 1c2fed3
Ref: #2950
The text was updated successfully, but these errors were encountered: