py3: add b'' prefixes in tests/test-profile.t
# skip-blame because just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D3599
--- 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 <<EOF
> from __future__ import absolute_import
> def extsetup(ui):
- > ui.write('otherextension: loaded\n')
+ > ui.write(b'otherextension: loaded\n')
> EOF
$ hg init b