mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix invalid escape sequence \d in test (refs #5513)
This commit is contained in:
@@ -1299,7 +1299,7 @@ def test_latex_labels(app, status, warning):
|
|||||||
r'\label{\detokenize{index:figure1}}'
|
r'\label{\detokenize{index:figure1}}'
|
||||||
r'\end{figure}' in result)
|
r'\end{figure}' in result)
|
||||||
assert (r'\caption{labeled figure}'
|
assert (r'\caption{labeled figure}'
|
||||||
'\\label{\detokenize{index:figure3}}\n'
|
'\\label{\\detokenize{index:figure3}}\n'
|
||||||
'\\begin{sphinxlegend}\nwith a legend\n\\end{sphinxlegend}\n'
|
'\\begin{sphinxlegend}\nwith a legend\n\\end{sphinxlegend}\n'
|
||||||
r'\end{figure}' in result)
|
r'\end{figure}' in result)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user