Skip to content

Commit 0b13dfb

Browse files
committed
Not sure how these "in result" ended up inside the parenthesized content
1 parent 52b9955 commit 0b13dfb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/test_builders/test_build_latex.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -981,13 +981,11 @@ def test_reference_in_caption_and_codeblock_in_footnote(app):
981981
) in result
982982
assert '\\chapter{The section with a reference to {[}AuthorYear{]}}' in result
983983
assert (
984-
'\\sphinxcaption{The table title with a reference'
985-
' to {[}AuthorYear{]}}' in result
986-
)
984+
'\\sphinxcaption{The table title with a reference to {[}AuthorYear{]}}'
985+
) in result
987986
assert (
988987
'\\subsubsection*{The rubric title with a reference to {[}AuthorYear{]}}'
989-
in result
990-
)
988+
) in result
991989
assert (
992990
'\\chapter{The section with a reference to \\sphinxfootnotemark[6]}\n'
993991
'\\label{\\detokenize{index:the-section-with-a-reference-to}}'

0 commit comments

Comments
 (0)