# HG changeset patch # User Augie Fackler # Date 2015-04-14 14:56:58 # Node ID 0e0f1068b878e1c37ed6bc3009b07f6b11f81e40 # Parent caa2043cc322d506a369f542566aaf370f0f80be run-tests: fix checking a line to see if it needs globbing diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -827,9 +827,9 @@ class PythonTest(Test): # 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