Mercurial > public > mercurial-scm > hg
diff tests/test-check-help.t @ 35947:a36d3c8a0e41
py3: add b'' prefixes to string literals in test files
# skip-blame because we are just adding b''
Differential Revision: https://phab.mercurial-scm.org/D2075
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 07 Feb 2018 13:34:51 +0530 |
parents | ddd65b4f3ae6 |
children | 80e5210df25c |
line wrap: on
line diff
--- a/tests/test-check-help.t Wed Feb 07 13:21:06 2018 +0530 +++ b/tests/test-check-help.t Wed Feb 07 13:34:51 2018 +0530 @@ -10,7 +10,7 @@ > import os, msvcrt > msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) > topics = set() - > topicre = re.compile(r':hg:`help ([a-z0-9\-.]+)`') + > topicre = re.compile(br':hg:`help ([a-z0-9\-.]+)`') > for fname in sys.argv: > with open(fname) as f: > topics.update(m.group(1) for m in topicre.finditer(f.read()))