# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1528536664 -19800 # Node ID 47b9240615ca65eb3e5edc47250f10e46a35693a # Parent d0abd7949ea31dbc7f12f399125be884b4310044 py3: add b'' prefix to make the regex bytes # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3705 diff -r d0abd7949ea3 -r 47b9240615ca tests/run-tests.py --- a/tests/run-tests.py Tue Jun 05 02:50:25 2018 +0200 +++ b/tests/run-tests.py Sat Jun 09 15:01:04 2018 +0530 @@ -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