diff options
Diffstat (limited to 'coverage/xmlreport.py')
-rw-r--r-- | coverage/xmlreport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/xmlreport.py b/coverage/xmlreport.py index dbda5f28..694415fd 100644 --- a/coverage/xmlreport.py +++ b/coverage/xmlreport.py @@ -185,7 +185,7 @@ class XmlReporter(Reporter): xline.setAttribute("branch", "true") xline.setAttribute( "condition-coverage", - "%d%% (%d/%d)" % (100*taken/total, taken, total) + "%d%% (%d/%d)" % (100*taken//total, taken, total) ) if line in missing_branch_arcs: annlines = ["exit" if b < 0 else str(b) for b in missing_branch_arcs[line]] |