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_math.py | |
parent | 353c3e9fd6f35fb129dac61798ff1b09c14f6d85 (diff) | |
download | sphinx-git-68c90a26f1e4bcf4fd1a738641219e1d6f12664f.tar.gz |
quickstart: Simplify generated conf.py (for latex)
Diffstat (limited to 'tests/test_ext_math.py')
-rw-r--r-- | tests/test_ext_math.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ext_math.py b/tests/test_ext_math.py index 51fb0e5d9..5cf9262c1 100644 --- a/tests/test_ext_math.py +++ b/tests/test_ext_math.py @@ -127,7 +127,7 @@ def test_math_number_all_mathjax(app, status, warning): def test_math_number_all_latex(app, status, warning): app.builder.build_all() - content = (app.outdir / 'test.tex').text() + content = (app.outdir / 'python.tex').text() macro = (r'\\begin{equation\*}\s*' r'\\begin{split}a\^2\+b\^2=c\^2\\end{split}\s*' r'\\end{equation\*}') @@ -170,7 +170,7 @@ def test_math_eqref_format_html(app, status, warning): def test_math_eqref_format_latex(app, status, warning): app.builder.build_all() - content = (app.outdir / 'test.tex').text() + content = (app.outdir / 'python.tex').text() macro = (r'Referencing equation Eq.\\ref{equation:math:foo} and ' r'Eq.\\ref{equation:math:foo}.') assert re.search(macro, content, re.S) |