D3705: py3: add b'' prefix to make the regex bytes
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Jun 9 17:37:39 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
1. skip-blame because just b'' prefixes
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3705
AFFECTED FILES
tests/run-tests.py
CHANGE DETAILS
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -2646,7 +2646,7 @@
expanded_args.append(arg)
args = expanded_args
- testcasepattern = re.compile(r'([\w-]+\.t|py)(#([^\s]+))')
+ testcasepattern = re.compile(br'([\w-]+\.t|py)(#([^\s]+))')
tests = []
for t in args:
case = None
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list