We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Consider:
def foo(c1, c2): if c1 or c2: print("yes") else: print("no") foo(True, False) foo(False, False)
This gives 100% coverage, even with branch prediction.
$ coverage run --branch 1.py && coverage report yes no Name Stmts Miss Branch BrPart Cover ----------------------------------------- 1.py 6 0 2 0 100%
However, the case where c2 is True is never tested.
Thoughts?
The text was updated successfully, but these errors were encountered:
This is a duplicate of #292.
Sorry, something went wrong.
No branches or pull requests
Consider:
This gives 100% coverage, even with branch prediction.
However, the case where c2 is True is never tested.
Thoughts?
The text was updated successfully, but these errors were encountered: