diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-27 07:21:41 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-27 07:21:41 -0400 |
commit | c84e2de22183a02fe10fe4a12c930b9c47c8f12b (patch) | |
tree | 687966a5ad0c46837f119a97860b673bb7c6ec83 /coverage/htmlfiles/pyfile.html | |
parent | 934778095e46933f06251d6b27d2d37ec8ac7538 (diff) | |
download | python-coveragepy-c84e2de22183a02fe10fe4a12c930b9c47c8f12b.tar.gz |
Better reporting of partial lines, including leaving out partial stuff altogether if no arcs were measured.
Diffstat (limited to 'coverage/htmlfiles/pyfile.html')
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 8a0dd4e..91c56cb 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -29,7 +29,9 @@ function toggle_lines(btn, cls) { <span class='{{c_run.strip}}' onclick='toggle_lines(this, "run")'>{{n_run}} run</span>
<span class='{{c_exc.strip}}' onclick='toggle_lines(this, "exc")'>{{n_exc}} excluded</span>
<span class='{{c_mis.strip}}' onclick='toggle_lines(this, "mis")'>{{n_mis}} missing</span>
- <span class='{{c_par.strip}}' onclick='toggle_lines(this, "par")'>{{n_par}} partial</span>
+ {% if arcs %}
+ <span class='{{c_par.strip}}' onclick='toggle_lines(this, "par")'>{{n_par}} partial</span>
+ {% endif %}
</h2>
</div>
</div>
|