fix pattern string in test_inheritance_diagram_latex for CI testing

This commit is contained in:
jfbu 2016-12-08 22:14:48 +01:00
parent 18e01c8341
commit 6dcf43c826

View File

@ -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)