diff -r e5f6c6ec21b8 -r cf49cf074ec2 tests/run-tests.py --- a/tests/run-tests.py Mon Apr 13 17:24:10 2015 -0400 +++ b/tests/run-tests.py Mon Apr 13 18:07:40 2015 -0400 @@ -2101,6 +2101,8 @@ pipe = os.popen(cmd % PYTHON) try: self._hgpath = pipe.read().strip() + if sys.version_info[0] == 3: + self._hgpath = self._hgpath.encode('utf-8') finally: pipe.close()