py3: convert hghave output to text
authortimeless <timeless@mozdev.org>
Wed, 30 Mar 2016 08:02:34 +0000
changeset 28699 5cc59dbd199f
parent 28698 c756b6791760
child 28700 35ad5bcdeb7e
py3: convert hghave output to text Before this, Python3 generated: b'skipped: unknown feature: not-py3k\n'
tests/run-tests.py
--- 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: