the continue statement is marked as missing which is not true. Especially in a "if True or True:" case.
#!python
for i in (1, 2, 3, 4):
if True or False:
continue # Missing
for i in (1, 2, 3, 4):
if False or True:
continue # Run
for i in (1, 2, 3, 4):
if True or True:
continue # Missing
for i in (1, 2, 3, 4):
if True or True:
print "test" # Run
continue # Run
print "End"
Originally reported by Anonymous
It seems that if:
the continue statement is marked as missing which is not true. Especially in a "if True or True:" case.
continue.py:
$ python --version
Python 2.7.2+
Run as:
$ coverage run continue.py && coverage html