summaryrefslogtreecommitdiff
path: root/coverage/python.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-02-06 21:01:34 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-02-06 21:01:34 -0500
commit8c78f96e77d7bc4bc27704afb6721c2b55c58451 (patch)
treee2e8c7e41383f17e02b6b9db611fa1da3ed53102 /coverage/python.py
parent8b02c8b66c2e417a258ff60c375c57b839d550b5 (diff)
downloadpython-coveragepy-git-8c78f96e77d7bc4bc27704afb6721c2b55c58451.tar.gz
Different annotations on missed branches. I don't like them yet.
Diffstat (limited to 'coverage/python.py')
-rw-r--r--coverage/python.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/coverage/python.py b/coverage/python.py
index f50d4d94..59e6346a 100644
--- a/coverage/python.py
+++ b/coverage/python.py
@@ -166,10 +166,7 @@ class PythonFileReporter(FileReporter):
return self.parser.exit_counts()
def arc_destination_description(self, lineno):
- if lineno < 0:
- return "jump to the function exit"
- else:
- return "jump to line {lineno}".format(lineno=lineno)
+ return self.parser.arc_destination_description(lineno)
@contract(returns='unicode')
def source(self):