diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-03-27 13:44:49 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-03-27 13:44:49 -0400 |
commit | 3e03a20a7a95aa9b5bd9d11b643489e22682832f (patch) | |
tree | d5e1be7e12977174fdfed3e5ed78b87b81eee406 /coverage/html.py | |
parent | 531323862667b0764b09d33efbd803cffc4e238c (diff) | |
download | python-coveragepy-git-3e03a20a7a95aa9b5bd9d11b643489e22682832f.tar.gz |
Better descriptions of missing one-line executables. Part of #475
Diffstat (limited to 'coverage/html.py')
-rw-r--r-- | coverage/html.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py index 9471db93..d4fb7516 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -190,6 +190,7 @@ class HtmlReporter(Reporter): if self.has_arcs: missing_branch_arcs = analysis.missing_branch_arcs() + arcs_executed = analysis.arcs_executed() # These classes determine which lines are highlighted by default. c_run = "run hide_run" @@ -219,7 +220,7 @@ class HtmlReporter(Reporter): shorts.append("exit") else: shorts.append(b) - longs.append(fr.missing_arc_description(lineno, b)) + longs.append(fr.missing_arc_description(lineno, b, arcs_executed)) # 202F is NARROW NO-BREAK SPACE. # 219B is RIGHTWARDS ARROW WITH STROKE. short_fmt = "%s ↛ %s" |