comparison tests/test-ui-color.py @ 17956:a08775ec89f2

i18n: wrap false positives for translation detection
author Matt Mackall <mpm@selenic.com>
date Sun, 25 Nov 2012 13:53:47 -0600
parents afccc64eea73
children ff1586a3adc5
comparison
equal deleted inserted replaced
17955:4ae21a7568f3 17956:a08775ec89f2
3 from mercurial import dispatch, ui 3 from mercurial import dispatch, ui
4 4
5 # ensure errors aren't buffered 5 # ensure errors aren't buffered
6 testui = color.colorui() 6 testui = color.colorui()
7 testui.pushbuffer() 7 testui.pushbuffer()
8 testui.write('buffered\n') 8 testui.write(('buffered\n'))
9 testui.warn('warning\n') 9 testui.warn(('warning\n'))
10 testui.write_err('error\n') 10 testui.write_err('error\n')
11 print repr(testui.popbuffer()) 11 print repr(testui.popbuffer())
12 12
13 # test dispatch.dispatch with the same ui object 13 # test dispatch.dispatch with the same ui object
14 hgrc = open(os.environ["HGRCPATH"], 'w') 14 hgrc = open(os.environ["HGRCPATH"], 'w')