Mercurial > hg
changeset 38251:47b9240615ca
py3: add b'' prefix to make the regex bytes
# skip-blame because just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D3705
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 09 Jun 2018 15:01:04 +0530 |
parents | d0abd7949ea3 |
children | a4aa77b84efd |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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