summaryrefslogtreecommitdiff
path: root/tests/test_examplefiles.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-20 10:25:14 +0200
committerGeorg Brandl <georg@python.org>2014-09-20 10:25:14 +0200
commit952696b4733bbc36171bca11b488380662996490 (patch)
tree1bbe7b6cb530fbcae8c7a83a6e4db3a568e75309 /tests/test_examplefiles.py
parentac5dac6b6eee0e24e33e7fbfa8eb96357d229458 (diff)
downloadpygments-952696b4733bbc36171bca11b488380662996490.tar.gz
Fix unit display.
Diffstat (limited to 'tests/test_examplefiles.py')
-rw-r--r--tests/test_examplefiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index 6e11003a..96816bf0 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -66,12 +66,12 @@ def test_example_files():
stats.sort(key=lambda x: x[1][1])
print('\nExample files that took longest absolute time:')
for fn, t in stats[-N:]:
- print('%-30s %6d chars %8.2f ms %7.3f s/char' % ((fn,) + t))
+ print('%-30s %6d chars %8.2f ms %7.3f ms/char' % ((fn,) + t))
print()
stats.sort(key=lambda x: x[1][2])
print('\nExample files that took longest relative time:')
for fn, t in stats[-N:]:
- print('%-30s %6d chars %8.2f ms %7.3f s/char' % ((fn,) + t))
+ print('%-30s %6d chars %8.2f ms %7.3f ms/char' % ((fn,) + t))
def check_lexer(lx, absfn, outfn, stats):