Mercurial > hg
view tests/test-ui-color.py @ 12955:158ca54a79cc stable
run-test: fixed wrong parenthesis
Fixed wrong placement of end parenthesis, from b911cb80c671
author | Erik Zielke <ez@aragost.com> |
---|---|
date | Mon, 08 Nov 2010 10:56:47 +0100 |
parents | 4c50552fc9bc |
children | 842a9179132c |
line wrap: on
line source
from hgext import color # ensure errors aren't buffered testui = color.colorui() testui.pushbuffer() testui.write('buffered\n') testui.warn('warning\n') testui.write_err('error\n') print repr(testui.popbuffer())