D2175: py3: use b'' in mockblackbox.py
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Feb 12 03:45:44 UTC 2018
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This unmasks a ton of other TypeError in blackbox code.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2175
AFFECTED FILES
tests/mockblackbox.py
CHANGE DETAILS
diff --git a/tests/mockblackbox.py b/tests/mockblackbox.py
--- a/tests/mockblackbox.py
+++ b/tests/mockblackbox.py
@@ -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
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list