diff tests/test-pager.t @ 33109: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 75be14993fda
children cc047a733f69
line wrap: on
line diff
--- a/tests/test-pager.t	Sun Jun 25 03:11:55 2017 +0530
+++ b/tests/test-pager.t	Sun Jun 25 08:20:05 2017 +0530
@@ -230,7 +230,7 @@
   > from mercurial import commands, registrar
   > cmdtable = {}
   > command = registrar.command(cmdtable)
-  > @command('fortytwo', [], 'fortytwo', norepo=True)
+  > @command(b'fortytwo', [], 'fortytwo', norepo=True)
   > def fortytwo(ui, *opts):
   >     ui.write('42\n')
   >     return 42