You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a duplicate of #198, in that the peephole optimizer has removed logical code paths from execution. Coverage cannot recreate the original paths.
Originally reported by Daniel Hahler (Bitbucket: blueyed, GitHub: blueyed)
The following code is considered to be 100% covered, which might be related to https://bitbucket.org/ned/coveragepy/issues/198/continue-marked-as-not-covered (i.e. line 6 should be marked as missed, but is not due to optimization?!):
However, when using
branch = True
, line 2 gets marked as "partial" in the html report, although line 5 should be marked as such instead.Python 3.6.2
coverage.py 4.4.1
The text was updated successfully, but these errors were encountered: