From 52aac401482015e9f38988f39679f5cfaa14cc56 Mon Sep 17 00:00:00 2001 From: David Ham Date: Sun, 4 Jul 2021 20:15:56 +0100 Subject: [PATCH] Update tests to match code changes. --- tests/roots/test-latex-container/index.rst | 2 +- tests/test_build_latex.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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