summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-09-01 18:20:32 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-09-01 18:20:32 -0400
commitada27a855934588cf753f8712bd72d41eadb1058 (patch)
tree5666295cdd896f9e3810a5467a4e9fac8b76ae0a /perf
parent6ac3ca707457c62c16470c805fc5fa4e38fd59eb (diff)
downloadpython-coveragepy-git-ada27a855934588cf753f8712bd72d41eadb1058.tar.gz
No need for format indexes (mostly)
Diffstat (limited to 'perf')
-rw-r--r--perf/perf_measure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/perf_measure.py b/perf/perf_measure.py
index a8f2ffaa..b903567c 100644
--- a/perf/perf_measure.py
+++ b/perf/perf_measure.py
@@ -137,7 +137,7 @@ class StressTest(object):
yield kwargs['file_count'] * kwargs['call_count'] * kwargs['line_count']
ops = sum(sum(operations(thing)) for thing in ["file", "call", "line"])
- print("{0:.1f}M operations".format(ops/1e6))
+ print("{:.1f}M operations".format(ops/1e6))
def check_coefficients(self):
# For checking the calculation of actual stats: