# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1526734820 -19800 # Node ID 1a09886ab03a1e4ef634f517f3905a88c5a23cd1 # Parent d1a49a94c3249ca7e059680437c82f3c125ddbf9 py3: add b'' prefixes in tests/test-hgrc.t # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3597 diff -r d1a49a94c324 -r 1a09886ab03a tests/test-hgrc.t --- a/tests/test-hgrc.t Sat May 19 18:28:52 2018 +0530 +++ b/tests/test-hgrc.t Sat May 19 18:30:20 2018 +0530 @@ -199,10 +199,10 @@ $ cat > plain.py < from mercurial import commands, extensions > def _config(orig, ui, repo, *values, **opts): - > ui.write('plain: %r\n' % ui.plain()) + > ui.write(b'plain: %r\n' % ui.plain()) > return orig(ui, repo, *values, **opts) > def uisetup(ui): - > extensions.wrapcommand(commands.table, 'config', _config) + > extensions.wrapcommand(commands.table, b'config', _config) > EOF $ echo "[extensions]" >> $HGRC $ echo "plain=./plain.py" >> $HGRC