# HG changeset patch # User Augie Fackler # Date 1444673704 14400 # Node ID a38924f7680c6b7d95e14ade999c35748c9dcafd # Parent a5ff66e6d77accbe6f37e1c362640e5b1d676c2f run-tests: add b-prefix on two strings to fix python3 support diff -r a5ff66e6d77a -r a38924f7680c tests/run-tests.py --- a/tests/run-tests.py Sun Oct 11 20:47:14 2015 -0700 +++ b/tests/run-tests.py Mon Oct 12 14:15:04 2015 -0400 @@ -1090,7 +1090,7 @@ # clean up any optional leftovers while expected.get(pos, None): el = expected[pos].pop(0) - if not el.endswith(" (?)\n"): + if not el.endswith(b" (?)\n"): expected[pos].insert(0, el) break postout.append(b' ' + el) @@ -1160,7 +1160,7 @@ if el == l: # perfect match (fast) return True if el: - if el.endswith(" (?)\n"): + if el.endswith(b" (?)\n"): retry = "retry" el = el[:-5] + "\n" if el.endswith(b" (esc)\n"):