Description
--lf
has a feature where if a certain Module
(python file) does not contain any failed tests, it is skipped entirely at the collector level instead of being collected and each item skipped individually. When this happens the collection summary looks like this:
run-last-failure: rerun previous 1 failure (skipped 1 file)
However, this feature doesn't work for Module
s inside of Package
s, only for those directly beneath the Session
.