changeset 28699:5cc59dbd199f

py3: convert hghave output to text Before this, Python3 generated: b'skipped: unknown feature: not-py3k\n'
author timeless <timeless@mozdev.org>
date Wed, 30 Mar 2016 08:02:34 +0000
parents c756b6791760
children 35ad5bcdeb7e
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Wed Mar 30 05:26:51 2016 +0000
+++ b/tests/run-tests.py	Wed Mar 30 08:02:34 2016 +0000
@@ -1010,7 +1010,7 @@
         if wifexited(ret):
             ret = os.WEXITSTATUS(ret)
         if ret == 2:
-            print(stdout)
+            print(stdout.decode('utf-8'))
             sys.exit(1)
 
         if ret != 0: