pytest-cov is called to late, use coverage.py directly