diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-09-03 21:18:58 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-01-07 23:06:14 +0900 |
commit | 68c90a26f1e4bcf4fd1a738641219e1d6f12664f (patch) | |
tree | bbd3b1fb385bac31563b5c2be3f618874b0eb277 /tests/test_ext_graphviz.py | |
parent | 353c3e9fd6f35fb129dac61798ff1b09c14f6d85 (diff) | |
download | sphinx-git-68c90a26f1e4bcf4fd1a738641219e1d6f12664f.tar.gz |
quickstart: Simplify generated conf.py (for latex)
Diffstat (limited to 'tests/test_ext_graphviz.py')
-rw-r--r-- | tests/test_ext_graphviz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_graphviz.py b/tests/test_ext_graphviz.py index 6524fd5a8..75a8717ea 100644 --- a/tests/test_ext_graphviz.py +++ b/tests/test_ext_graphviz.py @@ -90,7 +90,7 @@ def test_graphviz_svg_html(app, status, warning): def test_graphviz_latex(app, status, warning): app.builder.build_all() - content = (app.outdir / 'SphinxTests.tex').text() + content = (app.outdir / 'python.tex').text() macro = ('\\\\begin{figure}\\[htbp\\]\n\\\\centering\n\\\\capstart\n\n' '\\\\sphinxincludegraphics\\[\\]{graphviz-\\w+.pdf}\n' '\\\\caption{caption of graph}\\\\label{.*}\\\\end{figure}') |