tests: add missing b prefixes in test-pending.t
authorAugie Fackler <augie@google.com>
Sun, 18 Feb 2018 15:18:07 -0500
changeset 36317 f14879f61cd8
parent 36316 759579bac31d
child 36318 3f67c56a5fd7
tests: add missing b prefixes in test-pending.t # skip-blame more b prefixes Differential Revision: https://phab.mercurial-scm.org/D2345
tests/test-pending.t
--- a/tests/test-pending.t	Sun Feb 18 14:53:55 2018 -0500
+++ b/tests/test-pending.t	Sun Feb 18 15:18:07 2018 -0500
@@ -44,7 +44,7 @@
   > import os, time
   > from mercurial import ui, localrepo
   > def rejecthook(ui, repo, hooktype, node, **opts):
-  >     ui.write('hook %s\\n' % repo['tip'].hex())
+  >     ui.write(b'hook %s\\n' % repo[b'tip'].hex())
   >     # create the notify file so caller knows we're running
   >     fpath = os.path.join('$d', 'notify')
   >     f = open(fpath, 'w')