# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 2015-10-12 18:15:04
# Node ID a38924f7680c6b7d95e14ade999c35748c9dcafd
# Parent  a5ff66e6d77accbe6f37e1c362640e5b1d676c2f

run-tests: add b-prefix on two strings to fix python3 support

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -1090,7 +1090,7 @@ class TTest(Test):
             # 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 @@ class TTest(Test):
         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"):