Mercurial > hg
diff tests/test-blackbox.t @ 36740:2aff6daf7790
py3: byte-stringify test-blackbox.t
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 04 Mar 2018 16:55:51 -0500 |
parents | 7415cc923613 |
children | 9b16a67cef56 |
line wrap: on
line diff
--- a/tests/test-blackbox.t Sun Mar 04 16:54:14 2018 -0500 +++ b/tests/test-blackbox.t Sun Mar 04 16:55:51 2018 -0500 @@ -265,7 +265,7 @@ > from mercurial import context, error, extensions > x=[False] > def status(orig, *args, **opts): - > args[0].repo().ui.log("broken", "recursion?") + > args[0].repo().ui.log(b"broken", b"recursion?") > return orig(*args, **opts) > def reposetup(ui, repo): > extensions.wrapfunction(context.basectx, 'status', status) @@ -344,7 +344,7 @@ > from mercurial import registrar, scmutil > cmdtable = {} > command = registrar.command(cmdtable) - > @command('raise') + > @command(b'raise') > def raisecmd(*args): > raise RuntimeError('raise') > EOF