diff tests/mockblackbox.py @ 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 043948c84647
children a8a902d7176e
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