# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1526734944 -19800 # Node ID fd8eedcc3fd251d9c5d6f05d1fe31585f4eb186a # Parent 5a3feb2bc9ddc38d54bcc00f09b4151d717a3c93 py3: add b'' prefixes in tests/test-profile.t # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3599 diff -r 5a3feb2bc9dd -r fd8eedcc3fd2 tests/test-profile.t --- a/tests/test-profile.t Sat May 19 18:31:15 2018 +0530 +++ b/tests/test-profile.t Sat May 19 18:32:24 2018 +0530 @@ -69,7 +69,7 @@ > from mercurial import registrar, commands > cmdtable = {} > command = registrar.command(cmdtable) - > @command(b'sleep', [], 'hg sleep') + > @command(b'sleep', [], b'hg sleep') > def sleep(ui, *args, **kwargs): > time.sleep(0.1) > EOF @@ -123,13 +123,13 @@ > yield > print('fooprof: end profile') > def extsetup(ui): - > ui.write('fooprof: loaded\n') + > ui.write(b'fooprof: loaded\n') > EOF $ cat > otherextension.py < from __future__ import absolute_import > def extsetup(ui): - > ui.write('otherextension: loaded\n') + > ui.write(b'otherextension: loaded\n') > EOF $ hg init b