diff -r aa3c5b7a290e -r 6e9bfd51bc6f tests/run-tests.py --- a/tests/run-tests.py Thu Sep 19 15:29:04 2013 -0400 +++ b/tests/run-tests.py Thu Sep 19 15:29:28 2013 -0400 @@ -1048,7 +1048,7 @@ if _hgpath is not None: return _hgpath - cmd = '%s -c "import mercurial; print mercurial.__path__[0]"' + cmd = '%s -c "import mercurial; print (mercurial.__path__[0])"' pipe = os.popen(cmd % PYTHON) try: _hgpath = pipe.read().strip()