##// END OF EJS Templates
tests: use raw string in test-check-code.t...
Gregory Szorc -
r41688:f16c03c7 default
parent child Browse files
Show More
@@ -22,7 +22,7 b' New errors are not allowed. Warnings are'
22 >>> commands = []
22 >>> commands = []
23 >>> with open('mercurial/debugcommands.py', 'rb') as fh:
23 >>> with open('mercurial/debugcommands.py', 'rb') as fh:
24 ... for line in fh:
24 ... for line in fh:
25 ... m = re.match(b"^@command\('([a-z]+)", line)
25 ... m = re.match(br"^@command\('([a-z]+)", line)
26 ... if m:
26 ... if m:
27 ... commands.append(m.group(1))
27 ... commands.append(m.group(1))
28 >>> scommands = list(sorted(commands))
28 >>> scommands = list(sorted(commands))
General Comments 0
You need to be logged in to leave comments. Login now