Submitter | timeless |
---|---|
Date | May 5, 2016, 9:13 a.m. |
Message ID | <b5d88fd58b39e6b96ce1.1462439620@gcc2-power8.osuosl.org> |
Download | mbox | patch |
Permalink | /patch/14912/ |
State | Superseded |
Headers | show |
Comments
Patch
diff -r e0e72d67a8cd -r b5d88fd58b39 tests/hghave.py --- a/tests/hghave.py Sun Apr 17 13:06:44 2016 +0900 +++ b/tests/hghave.py Thu May 05 09:07:01 2016 +0000 @@ -90,7 +90,7 @@ """Return the match object if cmd executes successfully and its output is matched by the supplied regular expression. """ - r = re.compile(regexp) + r = re.compile(regexp.encode('utf-8')) try: p = subprocess.Popen( cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)