Work around coverage.py bug in test_check_coverage.
Fixes #981. See https://bitbucket.org/ned/coveragepy/issues/422/
This commit is contained in:
parent
12a11a5931
commit
55efd1358b
@ -135,6 +135,8 @@ def test_untested_branches(covtest):
|
||||
def func2(arg):
|
||||
if arg:
|
||||
pass
|
||||
else:
|
||||
pass
|
||||
|
||||
def func():
|
||||
func2(True)
|
||||
|
Loading…
Reference in New Issue
Block a user