# HG changeset patch # User Gregory Szorc # Date 1518406755 28800 # Node ID f49c3ee5b02f582346aa7802b5f2395e533ec23c # Parent 9b5df6e19a4f308e14703a8136cd0530c1e1d1a9 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 diff -r 9b5df6e19a4f -r f49c3ee5b02f tests/mockblackbox.py --- 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