--- a/tests/test-alias.t Fri Feb 23 17:26:45 2018 +0530
+++ b/tests/test-alias.t Fri Feb 23 18:03:58 2018 +0530
@@ -548,12 +548,12 @@
> from mercurial import cmdutil, commands, registrar
> cmdtable = {}
> command = registrar.command(cmdtable)
- > @command('expandalias')
+ > @command(b'expandalias')
> def expandalias(ui, repo, name):
> alias = cmdutil.findcmd(name, commands.table)[1][0]
- > ui.write('%s args: %s\n' % (name, ' '.join(alias.args)))
+ > ui.write(b'%s args: %s\n' % (name, b' '.join(alias.args)))
> os.environ['COUNT'] = '2'
- > ui.write('%s args: %s (with COUNT=2)\n' % (name, ' '.join(alias.args)))
+ > ui.write(b'%s args: %s (with COUNT=2)\n' % (name, b' '.join(alias.args)))
> EOF
$ cat >> $HGRCPATH <<'EOF'