Merge pull request #4241 from blueyed/move-duplicates

Move handling of duplicate files
This commit is contained in:
Bruno Oliveira
2018-10-26 08:07:48 -03:00
committed by GitHub
3 changed files with 11 additions and 19 deletions

View File

@@ -219,7 +219,7 @@ class TestNewSession(SessionTests):
started = reprec.getcalls("pytest_collectstart")
finished = reprec.getreports("pytest_collectreport")
assert len(started) == len(finished)
assert len(started) == 7 # XXX extra TopCollector
assert len(started) == 8
colfail = [x for x in finished if x.failed]
assert len(colfail) == 1