##// END OF EJS Templates
tests: unify test-acl
tests: unify test-acl

File last commit:

r11732:386e56ec stable
r11849:95a93161 default
Show More
test-ui-color.py
11 lines | 236 B | text/x-python | PythonLexer
Brodie Rao
color: call correct superclass method in write_err...
r11732 #!/usr/bin/env python
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())