Mercurial > hg
changeset 25059:0e0f1068b878
run-tests: fix checking a line to see if it needs globbing
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 14 Apr 2015 10:56:58 -0400 |
parents | caa2043cc322 |
children | 29e54fe22a3f |
files | tests/run-tests.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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