##// END OF EJS Templates
tests: handles bytes/str mismatch in test-commit-interface-curses.t...
Gregory Szorc -
r41461:1d99c9a5 default
parent child Browse files
Show More
@@ -333,9 +333,9 b' The default interface is text'
333 $ cp $HGRCPATH.pretest $HGRCPATH
333 $ cp $HGRCPATH.pretest $HGRCPATH
334 $ chunkselectorinterface() {
334 $ chunkselectorinterface() {
335 > "$PYTHON" <<EOF
335 > "$PYTHON" <<EOF
336 > from mercurial import hg, ui;\
336 > from mercurial import hg, pycompat, ui;\
337 > repo = hg.repository(ui.ui.load(), ".");\
337 > repo = hg.repository(ui.ui.load(), b".");\
338 > print(repo.ui.interface("chunkselector"))
338 > print(pycompat.sysstr(repo.ui.interface(b"chunkselector")))
339 > EOF
339 > EOF
340 > }
340 > }
341 $ chunkselectorinterface
341 $ chunkselectorinterface
General Comments 0
You need to be logged in to leave comments. Login now