diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-07 13:56:17 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-08 12:44:15 +0900 |
| commit | afbd27f9969680f72a52976e8afd2b1f25af1faa (patch) | |
| tree | 21483d17133ed8301ec02cf00ba28ce95c367aab /tests/test_catalogs.py | |
| parent | 51a0f709b5f4bfc5618b1249ceefafcade410a1f (diff) | |
| download | sphinx-git-afbd27f9969680f72a52976e8afd2b1f25af1faa.tar.gz | |
Fix i18n: message catalogs are not compiled when specific build (refs: #4560)
sphinx-build skips message catalog builds if specific filename are given
as arguments.
Diffstat (limited to 'tests/test_catalogs.py')
| -rw-r--r-- | tests/test_catalogs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_catalogs.py b/tests/test_catalogs.py index 4bfbb18a3..79e8d6b95 100644 --- a/tests/test_catalogs.py +++ b/tests/test_catalogs.py @@ -65,7 +65,7 @@ def test_compile_specific_catalogs(app, status, warning): return set(find_files(catalog_dir, '.mo')) actual_on_boot = get_actual() # sphinx.mo might be included - app.builder.compile_specific_catalogs(['admonitions']) + app.builder.compile_specific_catalogs([app.srcdir / 'admonitions.txt']) actual = get_actual() - actual_on_boot assert actual == set(['admonitions.mo']) |
