summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2017-02-12 20:07:02 +0900
committerDavid Lord <davidism@gmail.com>2018-05-04 08:07:18 -0700
commitce443dd4ab6453607166e75211396cae0f811309 (patch)
tree312dac9740ed8059dea888d2cdffdb5ed32f3bbb
parentcf009f7b2175d61b6f1558e8ba7010cfb3f9e532 (diff)
downloadmarkupsafe-ce443dd4ab6453607166e75211396cae0f811309.tar.gz
2to3 bench
-rw-r--r--bench/runbench.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bench/runbench.py b/bench/runbench.py
index 2ebdc53..ac2cbb1 100644
--- a/bench/runbench.py
+++ b/bench/runbench.py
@@ -2,6 +2,7 @@
"""
Runs the benchmarks
"""
+from __future__ import print_function
import sys
import os
import re
@@ -30,13 +31,13 @@ def run_bench(name):
def main():
- print '=' * 80
- print 'Running benchmark for MarkupSafe'
- print '-' * 80
+ print('=' * 80)
+ print('Running benchmark for MarkupSafe')
+ print('-' * 80)
os.chdir(bench_directory)
for bench in list_benchmarks():
run_bench(bench)
- print '-' * 80
+ print('-' * 80)
if __name__ == '__main__':