diff options
author | Daniel Hahler <git@thequod.de> | 2018-10-25 20:03:14 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2018-10-25 20:48:08 +0200 |
commit | e04182364338ed9cd2a63945204701c99e297f21 (patch) | |
tree | f077c4872d0e4ec04128a283a6af27d7d84c16fb /testing/test_session.py | |
parent | f466105d66723f226555224e619683abbce93fe4 (diff) | |
download | pytest-e04182364338ed9cd2a63945204701c99e297f21.tar.gz |
Move handling of duplicate files
This removes the hack added in https://github.com/pytest-dev/pytest/pull/3802.
Adjusts test:
- it appears to not have been changed to 7 intentionally.
- removes XXX comment, likely not relevant anymore since 6dac7743.
Diffstat (limited to 'testing/test_session.py')
-rw-r--r-- | testing/test_session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_session.py b/testing/test_session.py index 50ce91534..72d5cda72 100644 --- a/testing/test_session.py +++ b/testing/test_session.py @@ -218,7 +218,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 |