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
--- 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