py3: byte-stringify inline extension in test-logtoprocess.t
authorYuya Nishihara <yuya@tcha.org>
Sun, 11 Nov 2018 12:35:38 +0900
changeset 40621 175b590b1f51
parent 40620 b2e5a554bc7b
child 40622 d2c997b8001f
py3: byte-stringify inline extension in test-logtoprocess.t
contrib/python3-whitelist
tests/test-logtoprocess.t
--- a/contrib/python3-whitelist	Sun Nov 11 12:33:14 2018 +0900
+++ b/contrib/python3-whitelist	Sun Nov 11 12:35:38 2018 +0900
@@ -316,6 +316,7 @@
 test-log-linerange.t
 test-log.t
 test-logexchange.t
+test-logtoprocess.t
 test-lrucachedict.py
 test-mactext.t
 test-mailmap.t
--- a/tests/test-logtoprocess.t	Sun Nov 11 12:33:14 2018 +0900
+++ b/tests/test-logtoprocess.t	Sun Nov 11 12:35:38 2018 +0900
@@ -14,12 +14,12 @@
   > command = registrar.command(cmdtable)
   > configtable = {}
   > configitem = registrar.configitem(configtable)
-  > configitem('logtoprocess', 'foo',
+  > configitem(b'logtoprocess', b'foo',
   >     default=None,
   > )
   > @command(b'foobar', [])
   > def foo(ui, repo):
-  >     ui.log('foo', 'a message: %s\n', 'spam')
+  >     ui.log(b'foo', b'a message: %s\n', b'spam')
   > EOF
   $ cp $HGRCPATH $HGRCPATH.bak
   $ cat >> $HGRCPATH << EOF