diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2012-01-22 00:07:27 +0100 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2012-01-22 00:07:27 +0100 |
commit | b6beb68a34ce18f337527277cdba53b031e004ce (patch) | |
tree | f81e05dc664b2ad487d3cc564a78fe2c763e9ed6 /lib-python/2.7/trace.py | |
parent | A branch to merge CPython 2.7.2 (diff) | |
download | pypy-b6beb68a34ce18f337527277cdba53b031e004ce.tar.gz pypy-b6beb68a34ce18f337527277cdba53b031e004ce.tar.bz2 pypy-b6beb68a34ce18f337527277cdba53b031e004ce.zip |
Install CPython 2.7.2 version of the std library
Diffstat (limited to 'lib-python/2.7/trace.py')
-rw-r--r-- | lib-python/2.7/trace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-python/2.7/trace.py b/lib-python/2.7/trace.py index 97491db413..6e15e8b4bd 100644 --- a/lib-python/2.7/trace.py +++ b/lib-python/2.7/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: |