Mercurial > hg
view tests/test-gendoc-zh_TW.t @ 41762:cde37ed080c9
tests: fixed test too dependent on actual exception wording
On one of the machines I use to run the tests prior to submission,
the default Python is 2.7.5, with the following wording:
must be encoded string without NULL bytes, not str
This third form (and possible future ones) are motivation to
use a wider catching regexp.
author | Georges Racinet <gracinet@anybox.fr> |
---|---|
date | Thu, 21 Feb 2019 11:23:10 +0100 |
parents | 7a1ad08b9ff5 |
children |
line wrap: on
line source
#require docutils gettext $ $TESTDIR/check-gendoc zh_TW checking for parse errors