summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py19
1 files changed, 3 insertions, 16 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 0cdeb4708..072f187ba 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -1231,7 +1231,7 @@ def test_assets_order(app):
assert re.search(pattern, content, re.S)
# js_files
- expected = ['_static/early.js', '_static/jquery.js', '_static/underscore.js',
+ expected = ['_static/early.js',
'_static/doctools.js', '_static/sphinx_highlight.js',
'https://example.com/script.js', '_static/normal.js',
'_static/late.js', '_static/js/custom.js', '_static/lazy.js']
@@ -1631,21 +1631,8 @@ def test_html_scaled_image_link(app):
context)
-@pytest.mark.sphinx('html', testroot='reST-code-block',
- confoverrides={'html_codeblock_linenos_style': 'table'})
-def test_html_codeblock_linenos_style_table(app):
- app.build()
- content = (app.outdir / 'index.html').read_text(encoding='utf8')
-
- assert ('<div class="linenodiv"><pre><span class="normal">1</span>\n'
- '<span class="normal">2</span>\n'
- '<span class="normal">3</span>\n'
- '<span class="normal">4</span></pre></div>') in content
-
-
-@pytest.mark.sphinx('html', testroot='reST-code-block',
- confoverrides={'html_codeblock_linenos_style': 'inline'})
-def test_html_codeblock_linenos_style_inline(app):
+@pytest.mark.sphinx('html', testroot='reST-code-block')
+def test_html_codeblock_linenos_style(app):
app.build()
content = (app.outdir / 'index.html').read_text(encoding='utf8')