diff --git a/tests/roots/test-latex-container/index.rst b/tests/roots/test-latex-container/index.rst index 339a62522..899788bd5 100644 --- a/tests/roots/test-latex-container/index.rst +++ b/tests/roots/test-latex-container/index.rst @@ -1,4 +1,4 @@ .. container:: classname - text + text \ No newline at end of file diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 7bb747cb8..e0cfce953 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -1605,5 +1605,5 @@ def test_latex_nested_tables(app, status, warning): def test_latex_container(app, status, warning): app.builder.build_all() result = (app.outdir / 'python.tex').read_text() - assert r'\begin{sphinxclass}{classname}' in result - assert r'\end{sphinxclass}' in result + assert r'\begin{sphinxuseclass}{classname}' in result + assert r'\end{sphinxuseclass}' in result