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? Sign in to your account
Originally reported by Anthony Sottile (Bitbucket: asottile, GitHub: asottile)
Not sure if this intentionally or accidentally regressed. Prior to 4.2, running coverage combine was a noop if the coverage was already combined. Now it wipes the data.
coverage combine
echo 'x = 5' > test.py coverage run test.py coverage report --include test.py coverage combine coverage report --include test.py
$ echo 'x = 5' > test.py $ coverage run test.py $ coverage report --include test.py Name Stmts Miss Cover ----------------------------- test.py 1 0 100% $ coverage combine $ coverage report --include test.py Name Stmts Miss Cover ----------------------------- test.py 1 0 100%
$ echo 'x = 5' > test.py $ coverage run test.py $ coverage report --include test.py Name Stmts Miss Cover ----------------------------- test.py 1 0 100% $ coverage combine $ coverage report --include test.py Name Stmts Miss Cover --------------------------- No data to report.
The text was updated successfully, but these errors were encountered:
Yes, this was a regression. It's already fixed on the tip.
Sorry, something went wrong.
Fixed in 34ae57c51cfb3b2cd76725acc92aaed57bad1e79 (bb) (two months ago, yikes, I should release it!)
Original comment by Anthony Sottile (Bitbucket: asottile, GitHub: asottile)
Neat, thanks again @nedbat!
This fix was released as part of Coverage.py 4.3.
No branches or pull requests
Originally reported by Anthony Sottile (Bitbucket: asottile, GitHub: asottile)
Not sure if this intentionally or accidentally regressed. Prior to 4.2, running
coverage combine
was a noop if the coverage was already combined. Now it wipes the data.Simple reproduction
4.1
4.2
The text was updated successfully, but these errors were encountered: