diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py index 0b7ce2396c9..c72612b3cfe 100644 --- a/tests/test_build_manpage.py +++ b/tests/test_build_manpage.py @@ -33,7 +33,7 @@ def test_all(app, status, warning): @pytest.mark.sphinx('man', testroot='basic', confoverrides={'man_make_section_directory': True}) def test_man_make_section_directory(app, status, warning): - app.build() + app.build(True) assert (app.outdir / 'man1' / 'python.1').exists() diff --git a/tests/test_build_texinfo.py b/tests/test_build_texinfo.py index 546ccaabf4b..d13cc544abb 100644 --- a/tests/test_build_texinfo.py +++ b/tests/test_build_texinfo.py @@ -68,7 +68,7 @@ def test_texinfo(app, status, warning): @pytest.mark.sphinx('texinfo', testroot='markup-rubric') def test_texinfo_rubric(app, status, warning): - app.build() + app.build(True) output = (app.outdir / 'python.texi').read_text() assert '@heading This is a rubric' in output