-
-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
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
CoverageException: Can't combine line data with arc data when updating to repository tip #399
Comments
I've reproduced this locally, working on understanding what's going on... |
Original comment by Florian Bruhin (Bitbucket: The-Compiler, GitHub: The-Compiler) I can reproduce this with this minimal example, without doing the 3.7.1 -> 4.0 switch: import sys
import subprocess
def test_foo():
subprocess.check_call([sys.executable, '-c', 'print("Hello World")']) I guess it has something to do with pytest-cov turning subprocess coverage on automatically. |
Original comment by Florian Bruhin (Bitbucket: The-Compiler, GitHub: The-Compiler) The above sample is actually flawed - it only worked because my Here is a truly standalone example:
|
Fixed in 74e2f7c366a2 (bb) |
Originally reported by Florian Bruhin (Bitbucket: The-Compiler, GitHub: The-Compiler)
After updating from 3.7.1 to the repository tip, I get this when running my tests:
It goes away when deleting
.coverage
.I can't reproduce it with a minimal example, but here is how you should be able to reproduce it:
tox -e py34
(note: some windows will pop-up and close during the test, so it's best to not do anything in the meantime - the testsuite should take about 30-60 seconds)tox.ini
to use the hg version:.coverage.xml
as this will cause other issuesI attached .coverage before and after running 4.0 (the latter was named
.coverage.ws042.24666.991896
- I guess it gets renamed later and it crashed before that?)The text was updated successfully, but these errors were encountered: