Skip to content

Commit

Permalink
Fix invalid escape sequence \d in test (refs #5513)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Oct 30, 2018
1 parent a4f1b0e commit f4d7b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_build_latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ def test_latex_labels(app, status, warning):
r'\label{\detokenize{index:figure1}}'
r'\end{figure}' in result)
assert (r'\caption{labeled figure}'
'\\label{\detokenize{index:figure3}}\n'
'\\label{\\detokenize{index:figure3}}\n'
'\\begin{sphinxlegend}\nwith a legend\n\\end{sphinxlegend}\n'
r'\end{figure}' in result)

Expand Down

0 comments on commit f4d7b2e

Please sign in to comment.