Conversation
… could still get working
Make --color more colorful
…features Merge master into features
Issue a warning when a fixture named 'request' is collected
…_remove_writable minor: remove unused _shutil_rmtree_remove_writable
Running `pytest -k doesnotmatch` on pytest's own tests takes ~3s with Kitty terminal for me, but only ~1s with `-q`. It also is faster with urxvt, but still takes 2.2s there. This patch only calls `report_collect` every 0.1s, which is good enough for reporting collection progress, and improves the time with both Kitty and urxvt to ~1.2s for me.
For pytest's own suite the `cache_info()` looks as follows:
> session.config._getconftest_pathlist.cache_info()
CacheInfo(hits=231, misses=19, maxsize=None, currsize=19)
While it does not really make a difference for me this might help with
larger test suites / the case mentioned in
pytest-dev#2206 (comment).
TerminalWriter: write "collecting" msg only once every 0.5s
Merge master into features
Also renames `_path2confmods` to `_dirpath2confmods` for clarity (it is expected to be a dirpath in `_importconftest`). Uses an explicit maxsize, since it appears to be only relevant for a short period [1]. Removes the lru_cache on _getconftest_pathlist, which makes no difference when caching _getconftestmodules, at least with the performance test of 100x10 files (pytest-dev#4237). 1: pytest-dev#4237 (comment)
…-msg pdb: improve msg about output capturing with set_trace
_getconftestmodules: use functools.lru_cache
cacheprovider: display cachedir also in non-verbose mode if customized
Time: 8.53s => 5.73s
Time: 5.73s => 5.88s/5.82s
Time: 5.73s/5.88s => 5.36s (Before rebase: 4.86s => 4.45s)
Time: 5.36s => 4.85s (before rebase: 4.45s => 3.55s)
Performance fixes
|
Linting fails:
|
|
@nicoddemus wrong target branch? |
|
please excuse that mistake, i missed the merge of the master branch |
|
Still makes sense to target master here, no? |
RonnyPfannschmidt
left a comment
There was a problem hiding this comment.
please fix the change-log ref duplication ^^
Codecov Report
@@ Coverage Diff @@
## master #4297 +/- ##
==========================================
- Coverage 95.86% 95.79% -0.08%
==========================================
Files 109 111 +2
Lines 24681 24922 +241
Branches 2396 2444 +48
==========================================
+ Hits 23661 23873 +212
- Misses 723 748 +25
- Partials 297 301 +4
Continue to review full report at Codecov.
|
|
Changed the base as requested |
|
AppVeyour failed again in the middle:
I've not restarted it, I think we're good without it, especially since you can only restart all of the jobs (the whole build)?! |
No description provided.