tests/test-check-code.t
changeset 39057 850fe0b9c0c0
parent 37804 1ec874717d8a
child 40163 9f0ee4a60d65
--- a/tests/test-check-code.t	Fri Aug 10 02:17:50 2018 -0400
+++ b/tests/test-check-code.t	Fri Aug 10 02:18:41 2018 -0400
@@ -22,7 +22,7 @@
   >>> commands = []
   >>> with open('mercurial/debugcommands.py', 'rb') as fh:
   ...     for line in fh:
-  ...         m = re.match("^@command\('([a-z]+)", line)
+  ...         m = re.match(b"^@command\('([a-z]+)", line)
   ...         if m:
   ...             commands.append(m.group(1))
   >>> scommands = list(sorted(commands))