summaryrefslogtreecommitdiff
path: root/lab/parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-01-10 14:18:35 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-01-10 14:18:35 -0500
commitedc07992a17eb5c2c1afa84d6423cc8534d9fee2 (patch)
treeb83f994b15674c635893429891b38c6f7b636cc8 /lab/parser.py
parent990a0cc965a20cc0c424f0b61dcf9c082c88a35b (diff)
downloadpython-coveragepy-edc07992a17eb5c2c1afa84d6423cc8534d9fee2.tar.gz
Fix lab/parser.py, which wasn't showing enough arcs
Diffstat (limited to 'lab/parser.py')
-rw-r--r--lab/parser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lab/parser.py b/lab/parser.py
index 087d334..4deb93e 100644
--- a/lab/parser.py
+++ b/lab/parser.py
@@ -87,6 +87,7 @@ class ParserMain(object):
lines = text.splitlines(True)
text = textwrap.dedent("".join(lines[start-1:end]).replace("\\\\", "\\"))
pyparser = PythonParser(text, filename=filename, exclude=r"no\s*cover")
+ pyparser.parse_source()
except Exception as err:
print("%s" % (err,))
return