From 8c78f96e77d7bc4bc27704afb6721c2b55c58451 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 6 Feb 2016 21:01:34 -0500 Subject: Different annotations on missed branches. I don't like them yet. --- coverage/python.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'coverage/python.py') 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): -- cgit v1.2.1