changeset 36317:f14879f61cd8

tests: add missing b prefixes in test-pending.t # skip-blame more b prefixes Differential Revision: https://phab.mercurial-scm.org/D2345
author Augie Fackler <augie@google.com>
date Sun, 18 Feb 2018 15:18:07 -0500
parents 759579bac31d
children 3f67c56a5fd7
files tests/test-pending.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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')