summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-07-16 19:26:23 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-07-16 19:26:23 (GMT)
commitcbe1a4e28fb8dcd9fa1a17a1160ccc1c2ff9ff99 (patch)
treec389e9c01a9989e96204b54e1d229ebd59a85b3a
parent448acd0a3f076c5e84266741445b3dfb6f28dfeb (diff)
downloadcpython-cbe1a4e28fb8dcd9fa1a17a1160ccc1c2ff9ff99.zip
cpython-cbe1a4e28fb8dcd9fa1a17a1160ccc1c2ff9ff99.tar.gz
cpython-cbe1a4e28fb8dcd9fa1a17a1160ccc1c2ff9ff99.tar.bz2
Add comma grouping to max result so it's easier to read.
-rw-r--r--Lib/importlib/test/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/benchmark.py b/Lib/importlib/test/benchmark.py
index 90cb7dc..6c8978f 100644
--- a/Lib/importlib/test/benchmark.py
+++ b/Lib/importlib/test/benchmark.py
@@ -110,7 +110,7 @@ def main(import_):
print(result, end=' ')
sys.stdout.flush()
assert not sys.dont_write_bytecode
- print("]", "best is", max(results))
+ print("]", "best is", format(max(results), ',d'))
if __name__ == '__main__':