Fix regression with --lf and non-selected failures

This commit is contained in:
Daniel Hahler
2019-05-29 22:43:24 +02:00
parent 5c5966f62d
commit bf3b26b3f7
2 changed files with 21 additions and 0 deletions

View File

@@ -178,6 +178,7 @@ class LFPlugin(object):
"""
if (
self.active
and self._previously_failed_count
and self.config.getoption("lf")
and path.isfile()
and self.lastfailed