diff -r 964212780daf -r 3e3f4c03876b tests/dummyssh --- a/tests/dummyssh Wed Jan 10 08:53:22 2018 -0800 +++ b/tests/dummyssh Fri Dec 29 03:37:36 2017 +0530 @@ -13,9 +13,9 @@ os.environ["SSH_CLIENT"] = "%s 1 2" % os.environ.get('LOCALIP', '127.0.0.1') log = open("dummylog", "ab") -log.write("Got arguments") +log.write(b"Got arguments") for i, arg in enumerate(sys.argv[1:]): - log.write(" %d:%s" % (i + 1, arg)) + log.write(b" %d:%s" % (i + 1, arg)) log.write("\n") log.close() hgcmd = sys.argv[2]