changeset 28096:62ef44273678

run-tests: do not compare bytes with str while ordering tests It failed on Python 3.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 07 Feb 2016 15:53:02 +0900
parents 7fa139eaebb4
children 81eee5786174
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Tue Feb 09 17:51:44 2016 -0800
+++ b/tests/run-tests.py	Sun Feb 07 15:53:02 2016 +0900
@@ -1878,7 +1878,7 @@
                     for kw, mul in slow.items():
                         if kw in f:
                             val *= mul
-                    if f.endswith('.py'):
+                    if f.endswith(b'.py'):
                         val /= 10.0
                     perf[f] = val / 1000.0
                     return perf[f]