diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-05-27 17:28:58 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-06-10 17:15:32 -0400 |
commit | 48a3cc0cacaf2eb4e044cb3a83c83b48cd1aa67e (patch) | |
tree | 77a7e34eda324b9f94a5d0f71c97967450bd6cb3 /coverage/htmlfiles | |
parent | fef5badc5ef135a781d2f197fcef4f1f333bf38d (diff) | |
download | python-coveragepy-git-48a3cc0cacaf2eb4e044cb3a83c83b48cd1aa67e.tar.gz |
Include the count of contexts in the HTML report
Diffstat (limited to 'coverage/htmlfiles')
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 460c12b5..e85ee54c 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -93,7 +93,7 @@ {% for line in lines -%} <p>{#-#} {% if line.contexts -%} - <span class="context-button">ctx</span>{#-#} + <span class="context-button">{{ line.contexts|len }} ctx</span>{#-#} <span class="context-list"> {% for context in line.contexts -%} <span class="context-line">{{context}}</span>{#-#} |