deffunc2(arg):
ifarg:
passdeffunc():
func2(True)
if__name__=='__main__': # pragma: no branchfunc()
and a .coveragerc:
[run]branch=True
and running rm -r .coverage htmlcov && coverage run module.py && coverage html that correctly marks line 2 as partially covered with a Python 3.4 coverage, but marks it as fully covered with Python 3.5.
Originally reported by Florian Bruhin (Bitbucket: The-Compiler, GitHub: The-Compiler)
When having a
module.py
:and a
.coveragerc
:and running
rm -r .coverage htmlcov && coverage run module.py && coverage html
that correctly marks line 2 as partially covered with a Python 3.4 coverage, but marks it as fully covered with Python 3.5.The text was updated successfully, but these errors were encountered: