diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-19 21:58:40 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-19 21:58:40 -0500 |
commit | 61a3f737c4edbcbcd9468d47bd8025613ed590f7 (patch) | |
tree | 90e1c309c88f58820a92344602e71dbd7b81cac2 /coverage/html.py | |
parent | 83db34cf4273d80e2d987251b980244801379aff (diff) | |
download | python-coveragepy-61a3f737c4edbcbcd9468d47bd8025613ed590f7.tar.gz |
Branch coverage is computed more accurately, #156.
Diffstat (limited to 'coverage/html.py')
-rw-r--r-- | coverage/html.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/coverage/html.py b/coverage/html.py index 6a6c648..ed8920f 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -162,7 +162,6 @@ class HtmlReporter(Reporter): nums = analysis.numbers missing_branch_arcs = analysis.missing_branch_arcs() - n_par = 0 # accumulated below. arcs = self.arcs # These classes determine which lines are highlighted by default. @@ -187,7 +186,6 @@ class HtmlReporter(Reporter): line_class.append(c_mis) elif self.arcs and lineno in missing_branch_arcs: line_class.append(c_par) - n_par += 1 annlines = [] for b in missing_branch_arcs[lineno]: if b < 0: @@ -234,7 +232,6 @@ class HtmlReporter(Reporter): # Save this file's information for the index file. index_info = { 'nums': nums, - 'par': n_par, 'html_filename': html_filename, 'name': cu.name, } |