Mercurial > hg
view tests/test-gendoc-ro.t @ 31092:cb759f7f940d
ui: extract buffer write from protect and timed 'write_err' output
That subcall to 'self.write' is never doing actual write but only store things
in buffers. So we do not need to protect it for exception not to time its
execution.
This will make it easier to extract a '_write_err' function as we did for
'write'.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 24 Feb 2017 19:28:45 +0100 |
parents | 9c2977ceaa46 |
children | 8346b2f09e79 |
line wrap: on
line source
#require docutils gettext Error: the current ro localization has some rst defects exposed by moving pager to core. These two warnings about references are expected until the localization is corrected. $ $TESTDIR/check-gendoc ro checking for parse errors gendoc.txt:55: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string. gendoc.txt:55: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.