Mercurial > public > mercurial-scm > hg
diff tests/test-encoding-align.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 | 8e6f4939a69a |
line wrap: on
line diff
--- a/tests/test-encoding-align.t Sun Jun 25 03:11:55 2017 +0530 +++ b/tests/test-encoding-align.t Sun Jun 25 08:20:05 2017 +0530 @@ -20,7 +20,7 @@ > cmdtable = {} > command = registrar.command(cmdtable) > - > @command('showoptlist', + > @command(b'showoptlist', > [('s', 'opt1', '', 'short width' + ' %(s)s' * 8, '%(s)s'), > ('m', 'opt2', '', 'middle width' + ' %(m)s' * 8, '%(m)s'), > ('l', 'opt3', '', 'long width' + ' %(l)s' * 8, '%(l)s')],