diff tests/test-logtoprocess.t @ 33097:fce4ed2912bb

py3: make sure commands name are bytes in tests
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 25 Jun 2017 08:20:05 +0530
parents 0afc4206d02b
children e98dab3fafbc
line wrap: on
line diff
--- a/tests/test-logtoprocess.t	Sun Jun 25 03:11:55 2017 +0530
+++ b/tests/test-logtoprocess.t	Sun Jun 25 08:20:05 2017 +0530
@@ -12,7 +12,7 @@
   > from time import sleep
   > cmdtable = {}
   > command = registrar.command(cmdtable)
-  > @command('foo', [])
+  > @command(b'foo', [])
   > def foo(ui, repo):
   >     ui.log('foo', 'a message: %(bar)s\n', bar='spam')
   > EOF