Mercurial > hg-stable
diff tests/test-ui-color.py @ 43080:86e4daa2d54c
cleanup: mark some ui.(status|note|warn|write) calls as not needing i18n
These used to be marked with no-op parens, but black removes those now
and this is more explicit.
# skip-blame: fallout from mass reformatting
Differential Revision: https://phab.mercurial-scm.org/D6996
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 06 Oct 2019 10:51:16 -0400 |
parents | 2372284d9457 |
children | 6000f5b25c9b |
line wrap: on
line diff
--- a/tests/test-ui-color.py Sun Oct 06 10:10:14 2019 -0400 +++ b/tests/test-ui-color.py Sun Oct 06 10:51:16 2019 -0400 @@ -10,8 +10,8 @@ # ensure errors aren't buffered testui = uimod.ui() testui.pushbuffer() -testui.write(b'buffered\n') -testui.warn(b'warning\n') +testui.writenoi18n(b'buffered\n') +testui.warnnoi18n(b'warning\n') testui.write_err(b'error\n') print(stringutil.pprint(testui.popbuffer(), bprefix=True).decode('ascii'))