diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-06 21:01:34 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-06 21:01:34 -0500 |
commit | bed12b6563d79308a9297a3f8b54620b769f4c57 (patch) | |
tree | 4bcc2e1fd5bf3c821e2de672ef6381d86f962e8a /coverage/python.py | |
parent | 7830bb348ae93376b046b821e827cb1b74e6c13a (diff) | |
download | python-coveragepy-bed12b6563d79308a9297a3f8b54620b769f4c57.tar.gz |
Different annotations on missed branches. I don't like them yet.
Diffstat (limited to 'coverage/python.py')
-rw-r--r-- | coverage/python.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/coverage/python.py b/coverage/python.py index f50d4d9..59e6346 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): |