| 1 |
From: Dmitry Shachnev <[email protected]> |
| 2 |
Date: Wed, 25 Dec 2019 23:37:50 +0300 |
| 3 |
Subject: Skip tests that require sphinxcontrib.jsmath module |
| 4 |
|
| 5 |
--- |
| 6 |
tests/test_builders/test_build_html_maths.py | 3 +++ |
| 7 |
1 file changed, 3 insertions(+) |
| 8 |
|
| 9 |
diff --git a/tests/test_builders/test_build_html_maths.py b/tests/test_builders/test_build_html_maths.py |
| 10 |
index 8654ca9..71f57ce 100644 |
| 11 |
--- a/tests/test_builders/test_build_html_maths.py |
| 12 |
+++ b/tests/test_builders/test_build_html_maths.py |
| 13 |
@@ -40,6 +40,7 @@ def test_html_math_renderer_is_imgmath(app: SphinxTestApp) -> None: |
| 14 |
assert app.builder.math_renderer_name == 'imgmath' |
| 15 |
|
| 16 |
|
| 17 |
[email protected]('Requires sphinxcontrib.jsmath module') |
| 18 |
@pytest.mark.sphinx( |
| 19 |
'html', |
| 20 |
testroot='basic', |
| 21 |
@@ -67,6 +68,7 @@ def test_html_math_renderer_is_duplicated2(app: SphinxTestApp) -> None: |
| 22 |
assert app.builder.math_renderer_name == 'imgmath' # The another one is chosen |
| 23 |
|
| 24 |
|
| 25 |
[email protected]('Requires sphinxcontrib.jsmath module') |
| 26 |
@pytest.mark.sphinx( |
| 27 |
'html', |
| 28 |
testroot='basic', |
| 29 |
@@ -80,6 +82,7 @@ def test_html_math_renderer_is_chosen(app: SphinxTestApp) -> None: |
| 30 |
assert app.builder.math_renderer_name == 'imgmath' |
| 31 |
|
| 32 |
|
| 33 |
[email protected]('Requires sphinxcontrib.jsmath module') |
| 34 |
@pytest.mark.sphinx( |
| 35 |
'html', |
| 36 |
testroot='basic', |