Mercurial > hg
diff tests/run-tests.py @ 28698:c756b6791760
py3: convert prereq bytes to string in run-tests
Without this, run-tests would generate:
WARNING: Did not find prerequisite tool: b'python3.5'
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 30 Mar 2016 05:26:51 +0000 |
parents | c226e9b69bac |
children | 5cc59dbd199f |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Mar 28 12:50:56 2016 -0700 +++ b/tests/run-tests.py Wed Mar 30 05:26:51 2016 +0000 @@ -2518,7 +2518,8 @@ if found: vlog("# Found prerequisite", p, "at", found) else: - print("WARNING: Did not find prerequisite tool: %s " % p) + print("WARNING: Did not find prerequisite tool: %s " % + p.decode("utf-8")) if __name__ == '__main__': runner = TestRunner()