| 1 |
From: Dmitry Shachnev <[email protected]> |
| 2 |
Date: Thu, 6 Feb 2020 23:55:28 +0300 |
| 3 |
Subject: Skip tests that require sphinxcontrib.serializinghtml module |
| 4 |
|
| 5 |
--- |
| 6 |
tests/test_writers/test_api_translator.py | 2 ++ |
| 7 |
1 file changed, 2 insertions(+) |
| 8 |
|
| 9 |
diff --git a/tests/test_writers/test_api_translator.py b/tests/test_writers/test_api_translator.py |
| 10 |
index 1220192..6d8246b 100644 |
| 11 |
--- a/tests/test_writers/test_api_translator.py |
| 12 |
+++ b/tests/test_writers/test_api_translator.py |
| 13 |
@@ -47,6 +47,7 @@ def test_singlehtml_set_translator_for_singlehtml(app: SphinxTestApp) -> None: |
| 14 |
assert translator_class.__name__ == 'ConfSingleHTMLTranslator' |
| 15 |
|
| 16 |
|
| 17 |
[email protected]('Requires sphinxcontrib.serializinghtml module') |
| 18 |
@pytest.mark.sphinx('pickle', testroot='api-set-translator') |
| 19 |
def test_pickle_set_translator_for_pickle(app: SphinxTestApp) -> None: |
| 20 |
translator_class = app.builder.get_translator_class() |
| 21 |
@@ -54,6 +55,7 @@ def test_pickle_set_translator_for_pickle(app: SphinxTestApp) -> None: |
| 22 |
assert translator_class.__name__ == 'ConfPickleTranslator' |
| 23 |
|
| 24 |
|
| 25 |
[email protected]('Requires sphinxcontrib.serializinghtml module') |
| 26 |
@pytest.mark.sphinx('json', testroot='api-set-translator') |
| 27 |
def test_json_set_translator_for_json(app: SphinxTestApp) -> None: |
| 28 |
translator_class = app.builder.get_translator_class() |