File: skip_tests_serializinghtml.diff

package info (click to toggle)
sphinx 8.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid
  • size: 26,712 kB
  • sloc: python: 105,846; javascript: 6,474; perl: 451; makefile: 178; sh: 37; xml: 19; ansic: 2
file content (28 lines) | stat: -rw-r--r-- 1,306 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Dmitry Shachnev <mitya57@debian.org>
Date: Thu, 6 Feb 2020 23:55:28 +0300
Subject: Skip tests that require sphinxcontrib.serializinghtml module

---
 tests/test_writers/test_api_translator.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_writers/test_api_translator.py b/tests/test_writers/test_api_translator.py
index 1220192..6d8246b 100644
--- a/tests/test_writers/test_api_translator.py
+++ b/tests/test_writers/test_api_translator.py
@@ -47,6 +47,7 @@ def test_singlehtml_set_translator_for_singlehtml(app: SphinxTestApp) -> None:
     assert translator_class.__name__ == 'ConfSingleHTMLTranslator'
 
 
+@pytest.mark.skip('Requires sphinxcontrib.serializinghtml module')
 @pytest.mark.sphinx('pickle', testroot='api-set-translator')
 def test_pickle_set_translator_for_pickle(app: SphinxTestApp) -> None:
     translator_class = app.builder.get_translator_class()
@@ -54,6 +55,7 @@ def test_pickle_set_translator_for_pickle(app: SphinxTestApp) -> None:
     assert translator_class.__name__ == 'ConfPickleTranslator'
 
 
+@pytest.mark.skip('Requires sphinxcontrib.serializinghtml module')
 @pytest.mark.sphinx('json', testroot='api-set-translator')
 def test_json_set_translator_for_json(app: SphinxTestApp) -> None:
     translator_class = app.builder.get_translator_class()