##// END OF EJS Templates
run-tests: add b-prefix on two strings to fix python3 support
Augie Fackler -
r26612:a38924f7 default
parent child Browse files
Show More
@@ -1090,7 +1090,7 b' class TTest(Test):'
1090 1090 # clean up any optional leftovers
1091 1091 while expected.get(pos, None):
1092 1092 el = expected[pos].pop(0)
1093 if not el.endswith(" (?)\n"):
1093 if not el.endswith(b" (?)\n"):
1094 1094 expected[pos].insert(0, el)
1095 1095 break
1096 1096 postout.append(b' ' + el)
@@ -1160,7 +1160,7 b' class TTest(Test):'
1160 1160 if el == l: # perfect match (fast)
1161 1161 return True
1162 1162 if el:
1163 if el.endswith(" (?)\n"):
1163 if el.endswith(b" (?)\n"):
1164 1164 retry = "retry"
1165 1165 el = el[:-5] + "\n"
1166 1166 if el.endswith(b" (esc)\n"):
General Comments 0
You need to be logged in to leave comments. Login now