File: skip_tests_jsmath.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 (36 lines) | stat: -rw-r--r-- 1,293 bytes parent folder | download | duplicates (5)
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
29
30
31
32
33
34
35
36
From: Dmitry Shachnev <mitya57@debian.org>
Date: Wed, 25 Dec 2019 23:37:50 +0300
Subject: Skip tests that require sphinxcontrib.jsmath module

---
 tests/test_builders/test_build_html_maths.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/test_builders/test_build_html_maths.py b/tests/test_builders/test_build_html_maths.py
index cc21142..99408ff 100644
--- a/tests/test_builders/test_build_html_maths.py
+++ b/tests/test_builders/test_build_html_maths.py
@@ -37,6 +37,7 @@ def test_html_math_renderer_is_imgmath(app: SphinxTestApp) -> None:
     assert app.builder.math_renderer_name == 'imgmath'
 
 
+@pytest.mark.skip('Requires sphinxcontrib.jsmath module')
 @pytest.mark.sphinx(
     'html',
     testroot='basic',
@@ -62,6 +63,7 @@ def test_html_math_renderer_is_duplicated2(app: SphinxTestApp) -> None:
     assert app.builder.math_renderer_name == 'imgmath'  # The another one is chosen
 
 
+@pytest.mark.skip('Requires sphinxcontrib.jsmath module')
 @pytest.mark.sphinx(
     'html',
     testroot='basic',
@@ -75,6 +77,7 @@ def test_html_math_renderer_is_chosen(app: SphinxTestApp) -> None:
     assert app.builder.math_renderer_name == 'imgmath'
 
 
+@pytest.mark.skip('Requires sphinxcontrib.jsmath module')
 @pytest.mark.sphinx(
     'html',
     testroot='basic',