tests/test-pending.t
changeset 36317 f14879f61cd8
parent 24838 b2c1ff96c1e1
child 40092 58786930ea27
--- 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')