changeset 36143:f49c3ee5b02f

py3: use b'' in mockblackbox.py This unmasks a ton of other TypeError in blackbox code. # skip-blame since it's just a b prefix Differential Revision: https://phab.mercurial-scm.org/D2175
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 11 Feb 2018 19:39:15 -0800
parents 9b5df6e19a4f
children c33a99506e13
files tests/mockblackbox.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/mockblackbox.py	Mon Feb 12 15:08:15 2018 -0500
+++ b/tests/mockblackbox.py	Sun Feb 11 19:39:15 2018 -0800
@@ -5,7 +5,7 @@
 
 # XXX: we should probably offer a devel option to do this in blackbox directly
 def getuser():
-    return 'bob'
+    return b'bob'
 def getpid():
     return 5000