summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/trace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/trace.py b/Lib/trace.py
index 97491db..6e15e8b 100644
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -335,7 +335,7 @@ class CoverageResults:
lnotab, count)
if summary and n_lines:
- percent = int(100 * n_hits / n_lines)
+ percent = 100 * n_hits // n_lines
sums[modulename] = n_lines, percent, modulename, filename
if summary and sums: