run-tests: fix checking a line to see if it needs globbing
authorAugie Fackler <augie@google.com>
Tue, 14 Apr 2015 10:56:58 -0400
changeset 25059 0e0f1068b878
parent 25058 caa2043cc322
child 25060 29e54fe22a3f
run-tests: fix checking a line to see if it needs globbing
tests/run-tests.py
--- a/tests/run-tests.py	Tue Apr 14 10:14:49 2015 -0400
+++ b/tests/run-tests.py	Tue Apr 14 10:56:58 2015 -0400
@@ -827,9 +827,9 @@
 # Windows, but check-code.py wants a glob on these lines unconditionally.  Don't
 # warn if that is the case for anything matching these lines.
 checkcodeglobpats = [
-    re.compile(r'^pushing to \$TESTTMP/.*[^)]$'),
-    re.compile(r'^moving \S+/.*[^)]$'),
-    re.compile(r'^pulling from \$TESTTMP/.*[^)]$')
+    re.compile(br'^pushing to \$TESTTMP/.*[^)]$'),
+    re.compile(br'^moving \S+/.*[^)]$'),
+    re.compile(br'^pulling from \$TESTTMP/.*[^)]$')
 ]
 
 bchr = chr