D2175: py3: use b'' in mockblackbox.py

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Feb 12 21:47:13 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf49c3ee5b02f: py3: use b'' in mockblackbox.py (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2175?vs=5476&id=5576

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, pulkit, durin42
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list