diff tests/test-worker.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 46ba2cdda476
children 4f0439981a8a
line wrap: on
line diff
--- a/tests/test-worker.t	Sun Jun 25 03:11:55 2017 +0530
+++ b/tests/test-worker.t	Sun Jun 25 08:20:05 2017 +0530
@@ -31,7 +31,7 @@
   > }
   > cmdtable = {}
   > command = registrar.command(cmdtable)
-  > @command('test', [], 'hg test [COST] [FUNC]')
+  > @command(b'test', [], 'hg test [COST] [FUNC]')
   > def t(ui, repo, cost=1.0, func='runme'):
   >     cost = float(cost)
   >     func = functable[func]