Move handling of duplicate files#4241
Conversation
|
Cool 👍 |
|
One failing test: https://travis-ci.org/pytest-dev/pytest/jobs/446299602#L1014 - maybe just needs adjustment? |
|
It has an additional |
This removes the hack added in pytest-dev#3802. Adjusts test: - it appears to not have been changed to 7 intentionally. - removes XXX comment, likely not relevant anymore since 6dac774.
465fed9 to
e041823
Compare
|
Went ahead and amended the test, but please ACK. |
|
Not sure why there's an extra node in there now. |
|
@jonozzz |
|
Went down the blame road, and it's funny that ~8 years ago it started as "== 8" then 3 years ago changed to 7, then 8, 7 and now back to 8. Something's going on in there :) |
|
Yeah. I think the initial 8 was due to the "XXX" comment that appears to have been addressed when it changed to 7, and then it went to 8 again when package collection was added. |
Codecov Report
@@ Coverage Diff @@
## features #4241 +/- ##
============================================
- Coverage 95.77% 95.54% -0.23%
============================================
Files 109 109
Lines 24351 24348 -3
Branches 2404 2402 -2
============================================
- Hits 23322 23264 -58
- Misses 733 772 +39
- Partials 296 312 +16
Continue to review full report at Codecov.
|
This removes the hack added in pytest-dev#3802. Adjusts test: - it appears to not have been changed to 7 intentionally. - removes XXX comment, likely not relevant anymore since 6dac774. Backport of e041823 (pytest-dev#4241) from features.
This removes the hack added in pytest-dev#3802. Adjusts test: - it appears to not have been changed to 7 intentionally. - removes XXX comment, likely not relevant anymore since 6dac774. Backport of e041823 (pytest-dev#4241) from features.
This removes the hack added in pytest-dev#3802. Adjusts test: - it appears to not have been changed to 7 intentionally. - removes XXX comment, likely not relevant anymore since 6dac774. Backport of e041823 (pytest-dev#4241) from features.
This removes the hack added in
#3802.
This also improves performance a bit with the test case for #4237:
Before: 7.95s
After: 7.51s