Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Originally reported by fniessink (Bitbucket: fniessink, GitHub: fniessink)
The HTML report does not report on code units that are not relative to the invoked script.
This is inconvenient in the following setup:
Invoking coverage as follows generates a coverage HTML report that does not include whatever.py:
cd tests; rm .coverage; coverage -x my_testrunner.py; coverage -b -d coverage.out
Invoking coverage as follows generates a coverage text report that does include whatever.py:
cd tests; rm .coverage; coverage -x my_testrunner.py; coverage -r
Removing the lines in report.py:Reporter.report_files() that skip code_units that are not relative fixes the issue for me. See attached patch.
The text was updated successfully, but these errors were encountered:
Fixed in <<changeset cfc880a6c4d7 (bb)>>.
Sorry, something went wrong.
Fixed trio task groups being prematurely set inactive
No branches or pull requests