D2345: tests: add missing b prefixes in test-pending.t
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sun Feb 18 21:06:49 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG53bfd25bb9dd: tests: add missing b prefixes in test-pending.t (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2345?vs=5902&id=5913
REVISION DETAIL
https://phab.mercurial-scm.org/D2345
AFFECTED FILES
tests/test-pending.t
CHANGE DETAILS
diff --git a/tests/test-pending.t b/tests/test-pending.t
--- a/tests/test-pending.t
+++ b/tests/test-pending.t
@@ -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')
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list