--- a/tests/test-commandserver.t Sun Jun 25 03:11:55 2017 +0530
+++ b/tests/test-commandserver.t Sun Jun 25 08:20:05 2017 +0530
@@ -575,16 +575,16 @@
> from mercurial import commands, registrar
> cmdtable = {}
> command = registrar.command(cmdtable)
- > @command("debuggetpass", norepo=True)
+ > @command(b"debuggetpass", norepo=True)
> def debuggetpass(ui):
> ui.write("%s\\n" % ui.getpass())
- > @command("debugprompt", norepo=True)
+ > @command(b"debugprompt", norepo=True)
> def debugprompt(ui):
> ui.write("%s\\n" % ui.prompt("prompt:"))
- > @command("debugreadstdin", norepo=True)
+ > @command(b"debugreadstdin", norepo=True)
> def debugreadstdin(ui):
> ui.write("read: %r\n" % sys.stdin.read(1))
- > @command("debugwritestdout", norepo=True)
+ > @command(b"debugwritestdout", norepo=True)
> def debugwritestdout(ui):
> os.write(1, "low-level stdout fd and\n")
> sys.stdout.write("stdout should be redirected to /dev/null\n")