[run] omit is ignored since 4.5 · Issue #638 · nedbat/coveragepy (original) (raw)

Originally reported by Marius Gedminas (Bitbucket: mgedmin, GitHub: mgedmin)


The coverage of irclog2html dropped from 100% to 98% after a cron-triggered Travis CI rebuild with no code changes. I investigated and discovered that despite my .coveragerc containing

[run]
source = irclog2html
omit = */tests/*,*/xchatlogsplit.py

the new version of coverage (4.5) does not omit src/irclog2html/tests/test_*.py from measurement or reporting.

This is probably related to commit 1031ead7ca4c (bb).