Skip to content
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

python multiline literal strings counted as missed lines #1755

Open
altaurog opened this issue Apr 8, 2024 · 0 comments
Open

python multiline literal strings counted as missed lines #1755

altaurog opened this issue Apr 8, 2024 · 0 comments

Comments

@altaurog
Copy link

altaurog commented Apr 8, 2024

I have a python project using coverage.py, reporting to coveralls.
There is a big discrepancy:
coverage.py reports coverage of 96%
coveralls reports coverage of 83%.

Drilling down, the obvious difference is that coveralls shows python multi-line strings as misses. This seems wrong to me, since the entire multiline literal was evaluated in a statement which did execute. coverage.py does not report these as misses:
image

How can I get the correct report from coveralls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant