diff --git a/tests/test-pager.t b/tests/test-pager.t --- a/tests/test-pager.t +++ b/tests/test-pager.t @@ -260,9 +260,9 @@ > from mercurial import commands, registrar > cmdtable = {} > command = registrar.command(cmdtable) - > @command(b'fortytwo', [], 'fortytwo', norepo=True) + > @command(b'fortytwo', [], b'fortytwo', norepo=True) > def fortytwo(ui, *opts): - > ui.write('42\n') + > ui.write(b'42\n') > return 42 > EOF @@ -377,8 +377,8 @@ $ cat > $TESTTMP/pushbufferpager.py < def uisetup(ui): > ui.pushbuffer() - > ui.pager('mycmd') - > ui.write('content\n') + > ui.pager(b'mycmd') + > ui.write(b'content\n') > ui.write(ui.popbuffer()) > EOF