diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-05-17 23:18:00 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-05-17 23:18:24 +0900 |
commit | 79d9701a005db6aee2edaa330f6339031bb433d8 (patch) | |
tree | 42465d3965691576d5de3c538b613f42cacc38aa /tests/test_build_manpage.py | |
parent | d6c19126c5ebd788619d491d4e70c949de9fd2ff (diff) | |
download | sphinx-git-79d9701a005db6aee2edaa330f6339031bb433d8.tar.gz |
Fix #9217: manpage: Dirname of man_make_section_directory is wrong
* Correct: man/man1
* Wrong: man/1
Diffstat (limited to 'tests/test_build_manpage.py')
-rw-r--r-- | tests/test_build_manpage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py index a017abc69..0b7ce2396 100644 --- a/tests/test_build_manpage.py +++ b/tests/test_build_manpage.py @@ -34,7 +34,7 @@ def test_all(app, status, warning): confoverrides={'man_make_section_directory': True}) def test_man_make_section_directory(app, status, warning): app.build() - assert (app.outdir / '1' / 'python.1').exists() + assert (app.outdir / 'man1' / 'python.1').exists() @pytest.mark.sphinx('man', testroot='directive-code') |