A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nedbat/coveragepy/issues/422 below:

Partial branch marked as fully covered · Issue #422 · nedbat/coveragepy · GitHub

Originally reported by Florian Bruhin (Bitbucket: The-Compiler, GitHub: The-Compiler)

When having a module.py:

def func2(arg):
    if arg:
        pass

def func():
    func2(True)

if __name__ == '__main__':  # pragma: no branch
    func()

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4