diff --git a/tests/test-revlog-mmapindex.t b/tests/test-revlog-mmapindex.t --- a/tests/test-revlog-mmapindex.t +++ b/tests/test-revlog-mmapindex.t @@ -6,12 +6,13 @@ > > from mercurial import ( > extensions, + > pycompat, > util, > ) > > def extsetup(ui): > def mmapread(orig, fp): - > ui.write("mmapping %s\n" % fp.name) + > ui.write(b"mmapping %s\n" % pycompat.bytestr(fp.name)) > ui.flush() > return orig(fp) >