summaryrefslogtreecommitdiff
path: root/tests/test_util_i18n.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-11 21:44:37 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-12 00:37:51 +0900
commit0ccc64d9eaa2259b7522a4c0f8432196ef1b5256 (patch)
tree5c9c3ce8975ca1b91a93c81c8d759f0c3ecaff6a /tests/test_util_i18n.py
parent0f4514a69cfc014068d1383dd12b35bae73100b7 (diff)
downloadsphinx-git-0ccc64d9eaa2259b7522a4c0f8432196ef1b5256.tar.gz
test: Filter warnings on testing
Diffstat (limited to 'tests/test_util_i18n.py')
-rw-r--r--tests/test_util_i18n.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_util_i18n.py b/tests/test_util_i18n.py
index b7f460cd7..63496bccb 100644
--- a/tests/test_util_i18n.py
+++ b/tests/test_util_i18n.py
@@ -144,6 +144,7 @@ def test_get_catalogs_from_multiple_locale_dirs(tempdir):
assert domains == ['test1', 'test1', 'test2']
+@pytest.mark.filterwarnings('ignore:gettext_compact argument')
def test_get_catalogs_with_compact(tempdir):
(tempdir / 'loc1' / 'xx' / 'LC_MESSAGES').makedirs()
(tempdir / 'loc1' / 'xx' / 'LC_MESSAGES' / 'test1.po').write_text('#')