summaryrefslogtreecommitdiff
path: root/coverage/python.py
diff options
context:
space:
mode:
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):