comparison tests/test-chg.t @ 43154:f05d10ef42e3

py3: add a missing b'' prefix in test extension for chg Differential Revision: https://phab.mercurial-scm.org/D7038
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 28 Aug 2019 17:45:18 -0700
parents dcac24ec935b
children fe94af4e3dc9
comparison
equal deleted inserted replaced
43153:741fb1a95da2 43154:f05d10ef42e3
125 > from mercurial import registrar 125 > from mercurial import registrar
126 > cmdtable = {} 126 > cmdtable = {}
127 > command = registrar.command(cmdtable) 127 > command = registrar.command(cmdtable)
128 > @command(b'crash') 128 > @command(b'crash')
129 > def pagercrash(ui, repo, *pats, **opts): 129 > def pagercrash(ui, repo, *pats, **opts):
130 > ui.write('going to crash\n') 130 > ui.write(b'going to crash\n')
131 > raise Exception('.') 131 > raise Exception('.')
132 > EOF 132 > EOF
133 133
134 $ cat > $TESTTMP/fakepager.py <<EOF 134 $ cat > $TESTTMP/fakepager.py <<EOF
135 > from __future__ import absolute_import 135 > from __future__ import absolute_import