Mercurial > hg
diff tests/test-profile.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 | 545f69cd6042 |
children | a72b2db1a6a9 |
line wrap: on
line diff
--- a/tests/test-profile.t Sun Jun 25 03:11:55 2017 +0530 +++ b/tests/test-profile.t Sun Jun 25 08:20:05 2017 +0530 @@ -68,7 +68,7 @@ > from mercurial import registrar, commands > cmdtable = {} > command = registrar.command(cmdtable) - > @command('sleep', [], 'hg sleep') + > @command(b'sleep', [], 'hg sleep') > def sleep(ui, *args, **kwargs): > time.sleep(0.1) > EOF