# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1526734875 -19800 # Node ID 5a3feb2bc9ddc38d54bcc00f09b4151d717a3c93 # Parent 1a09886ab03a1e4ef634f517f3905a88c5a23cd1 py3: add b'' prefixes in tests/test-pager.t # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3598 diff -r 1a09886ab03a -r 5a3feb2bc9dd tests/test-pager.t --- a/tests/test-pager.t Sat May 19 18:30:20 2018 +0530 +++ b/tests/test-pager.t Sat May 19 18:31:15 2018 +0530 @@ -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