summaryrefslogtreecommitdiff
path: root/tests/test_build_html5.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-13 15:26:21 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-13 15:26:21 +0900
commit6d29b3814037a506750c404413ebcc5d78e1857c (patch)
treed5c57d29824df3a9b1bd095c9a3018069aaf078b /tests/test_build_html5.py
parent19efb4a39810f1035d9d891f26154c74c6b54a89 (diff)
parent822a04de9c407c5263e7e94eb9ab5a6602cb2861 (diff)
downloadsphinx-git-6d29b3814037a506750c404413ebcc5d78e1857c.tar.gz
Merge branch 'master' into sphinx-build-set-proc-count-to-cpu-count
Diffstat (limited to 'tests/test_build_html5.py')
-rw-r--r--tests/test_build_html5.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/test_build_html5.py b/tests/test_build_html5.py
index 771994ca6..4ac70be51 100644
--- a/tests/test_build_html5.py
+++ b/tests/test_build_html5.py
@@ -10,7 +10,7 @@
https://github.com/sphinx-doc/sphinx/pull/2805/files
- :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
+ :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -90,8 +90,8 @@ def cached_etree_parse():
r'-| |-'),
],
'autodoc.html': [
- (".//dt[@id='test_autodoc.Class']", ''),
- (".//dt[@id='test_autodoc.function']/em", r'\*\*kwds'),
+ (".//dt[@id='autodoc_target.Class']", ''),
+ (".//dt[@id='autodoc_target.function']/em", r'\*\*kwds'),
(".//dd/p", r'Return spam\.'),
],
'extapi.html': [
@@ -251,7 +251,6 @@ def cached_etree_parse():
'contents.html': [
(".//meta[@name='hc'][@content='hcval']", ''),
(".//meta[@name='hc_co'][@content='hcval_co']", ''),
- (".//meta[@name='testopt'][@content='testoverride']", ''),
(".//dt[@class='label']/span[@class='brackets']", r'Ref1'),
(".//dt[@class='label']", ''),
(".//li[@class='toctree-l1']/a", 'Testing various markup'),
@@ -284,9 +283,6 @@ def cached_etree_parse():
(".//a[@href='http://bugs.python.org/issue1000']", "issue 1000"),
(".//a[@href='http://bugs.python.org/issue1042']", "explicit caption"),
],
- '_static/statictmpl.html': [
- (".//project", 'Sphinx <Tests>'),
- ],
'genindex.html': [
# index entries
(".//a/strong", "Main"),