diff --git a/tests/test_builders/test_build_latex.py b/tests/test_builders/test_build_latex.py index b4c51c87382..75073176588 100644 --- a/tests/test_builders/test_build_latex.py +++ b/tests/test_builders/test_build_latex.py @@ -1024,7 +1024,7 @@ def test_reference_in_caption_and_codeblock_in_footnote(app): '\\begin{footnote}[12]\\sphinxAtStartFootnote\n' 'Third footnote in longtable\n' ) in result - assert ('\\end{sphinxVerbatim}\n%\n\\end{footnote}.\n') in result + assert '\\end{sphinxVerbatim}\n%\n\\end{footnote}.\n' in result assert '\\begin{sphinxVerbatim}[commandchars=\\\\\\{\\}]' in result