https://github.com/sphinx-doc/sphinxcontrib-jsmath/pull/10 --- sphinxcontrib-jsmath-1.0.1/tests/test_jsmath.py.orig +++ sphinxcontrib-jsmath-1.0.1/tests/test_jsmath.py @@ -14,7 +14,7 @@ @pytest.mark.sphinx('html', testroot='basic') def test_basic(app, status, warning): app.builder.build_all() - content = (app.outdir / 'math.html').text() + content = (app.outdir / 'math.html').read_text() print(content) assert '