Work around coverage.py bug in test_check_coverage.

Fixes #981.
See https://bitbucket.org/ned/coveragepy/issues/422/
This commit is contained in:
Florian Bruhin 2015-10-04 18:33:37 +02:00
parent 12a11a5931
commit 55efd1358b

View File

@ -135,6 +135,8 @@ def test_untested_branches(covtest):
def func2(arg):
if arg:
pass
else:
pass
def func():
func2(True)