mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix pattern string in test_inheritance_diagram_latex for CI testing
This commit is contained in:
parent
18e01c8341
commit
6dcf43c826
@ -40,7 +40,7 @@ def test_inheritance_diagram_latex(app, status, warning):
|
||||
|
||||
pattern = ('\\\\begin{figure}\\[htbp]\n\\\\centering\n\\\\capstart\n\n'
|
||||
'\\\\includegraphics{inheritance-\\w+.pdf}\n'
|
||||
'\\\\caption{Test Foo!}\\\\label{\\detokenize{index:id1}}\\\\end{figure}')
|
||||
'\\\\caption{Test Foo!}\\\\label{\\\\detokenize{index:id1}}\\\\end{figure}')
|
||||
assert re.search(pattern, content, re.M)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user