##// END OF EJS Templates
py3: byte-stringify test-blackbox.t
Yuya Nishihara -
r36758:2aff6daf default
parent child Browse files
Show More
@@ -16,6 +16,7 b' test-backwards-remove.t'
16 test-basic.t
16 test-basic.t
17 test-bheads.t
17 test-bheads.t
18 test-bisect2.t
18 test-bisect2.t
19 test-blackbox.t
19 test-bookmarks-current.t
20 test-bookmarks-current.t
20 test-bookmarks-merge.t
21 test-bookmarks-merge.t
21 test-bookmarks-rebase.t
22 test-bookmarks-rebase.t
@@ -265,7 +265,7 b' Test log recursion from dirty status che'
265 > from mercurial import context, error, extensions
265 > from mercurial import context, error, extensions
266 > x=[False]
266 > x=[False]
267 > def status(orig, *args, **opts):
267 > def status(orig, *args, **opts):
268 > args[0].repo().ui.log("broken", "recursion?")
268 > args[0].repo().ui.log(b"broken", b"recursion?")
269 > return orig(*args, **opts)
269 > return orig(*args, **opts)
270 > def reposetup(ui, repo):
270 > def reposetup(ui, repo):
271 > extensions.wrapfunction(context.basectx, 'status', status)
271 > extensions.wrapfunction(context.basectx, 'status', status)
@@ -344,7 +344,7 b' blackbox should work if repo.ui.log is n'
344 > from mercurial import registrar, scmutil
344 > from mercurial import registrar, scmutil
345 > cmdtable = {}
345 > cmdtable = {}
346 > command = registrar.command(cmdtable)
346 > command = registrar.command(cmdtable)
347 > @command('raise')
347 > @command(b'raise')
348 > def raisecmd(*args):
348 > def raisecmd(*args):
349 > raise RuntimeError('raise')
349 > raise RuntimeError('raise')
350 > EOF
350 > EOF
General Comments 0
You need to be logged in to leave comments. Login now