Mercurial > public > mercurial-scm > hg
diff tests/test-command-template.t @ 36548:086fc71fbb09
py3: mark all string literals in test-command-template.t as bytes
# skip-blame because just b'' prefixes
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 01 Mar 2018 17:43:25 -0500 |
parents | 106e93d16435 |
children | e80f8a134731 |
line wrap: on
line diff
--- a/tests/test-command-template.t Thu Mar 01 17:03:40 2018 -0500 +++ b/tests/test-command-template.t Thu Mar 01 17:43:25 2018 -0500 @@ -4622,9 +4622,9 @@ > > templatefunc = registrar.templatefunc() > - > @templatefunc('custom()') + > @templatefunc(b'custom()') > def custom(context, mapping, args): - > return 'custom' + > return b'custom' > EOF $ cat <<EOF > .hg/hgrc > [extensions]