diff options
Diffstat (limited to 'tests/test_ext_math.py')
-rw-r--r-- | tests/test_ext_math.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_math.py b/tests/test_ext_math.py index 52d49ec43..973fc3699 100644 --- a/tests/test_ext_math.py +++ b/tests/test_ext_math.py @@ -261,7 +261,7 @@ def test_mathjax_is_not_installed_if_no_equations(app, status, warning): @pytest.mark.sphinx('html', testroot='ext-math', confoverrides={'extensions': ['sphinx.ext.mathjax']}) def test_mathjax_is_installed_if_no_equations_when_forced(app, status, warning): - app.add_html_assets_in_all_pages() + app.set_html_assets_policy('always') app.builder.build_all() content = (app.outdir / 'index.html').read_text() |