# HG changeset patch # User Yuya Nishihara # Date 1507955834 -32400 # Node ID a88166a4dce37f142cb48dec19294973476f66c7 # Parent e79b6300d97c6c70e032c78a4e18670c0a0e6e7a test-i18n: guard gettext test appropriately diff -r e79b6300d97c -r a88166a4dce3 tests/test-i18n.t --- a/tests/test-i18n.t Sun Oct 08 13:08:31 2017 +0200 +++ b/tests/test-i18n.t Sat Oct 14 13:37:14 2017 +0900 @@ -49,6 +49,8 @@ $ $PYTHON check-translation.py --doctest $ cd $TESTTMP +#if gettext + Check i18n cache isn't reused after encoding change: $ cat > $TESTTMP/encodingchange.py << EOF @@ -68,3 +70,5 @@ (\xe5\xae\x9f\xe9\xa8\x93\xe7\x9a\x84\xe5\xae\x9f\xe8\xa3\x85) (esc) (?????) (\xe5\xae\x9f\xe9\xa8\x93\xe7\x9a\x84\xe5\xae\x9f\xe8\xa3\x85) (esc) + +#endif