##// END OF EJS Templates
merge with i18n stable
merge with i18n stable

File last commit:

r12865:4c50552f stable
r12986:31887268 merge default
Show More
test-ui-color.py
9 lines | 213 B | text/x-python | PythonLexer
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())