diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-11 21:44:37 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-12 00:37:51 +0900 |
| commit | 0ccc64d9eaa2259b7522a4c0f8432196ef1b5256 (patch) | |
| tree | 5c9c3ce8975ca1b91a93c81c8d759f0c3ecaff6a /tests/test_util_i18n.py | |
| parent | 0f4514a69cfc014068d1383dd12b35bae73100b7 (diff) | |
| download | sphinx-git-0ccc64d9eaa2259b7522a4c0f8432196ef1b5256.tar.gz | |
test: Filter warnings on testing
Diffstat (limited to 'tests/test_util_i18n.py')
| -rw-r--r-- | tests/test_util_i18n.py | 1 |
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('#') |
