summaryrefslogtreecommitdiff
path: root/tests/test_build_html5.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-14 09:39:48 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-14 09:39:48 +0900
commitcdb31585a834dc38658691ef51236952bd132aa4 (patch)
treeeb0f72336b1073a8e8a90cac2da8eac292264b6d /tests/test_build_html5.py
parentac200ecf7cfd1854fe4ce2e937c13f405ec65d19 (diff)
parentf3f829664dce9ed8b236ffdb1d909524096d3b76 (diff)
downloadsphinx-git-cdb31585a834dc38658691ef51236952bd132aa4.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.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/test_build_html5.py b/tests/test_build_html5.py
index 4ac70be51..168e516cf 100644
--- a/tests/test_build_html5.py
+++ b/tests/test_build_html5.py
@@ -72,21 +72,21 @@ def cached_etree_parse():
(".//pre/span", u'"quotes"'),
(".//pre/span", u"'included'"),
(".//pre/span[@class='s2']", u'üöä'),
- (".//div[@class='inc-pyobj1 highlight-text']//pre",
+ (".//div[@class='inc-pyobj1 highlight-text notranslate']//pre",
r'^class Foo:\n pass\n\s*$'),
- (".//div[@class='inc-pyobj2 highlight-text']//pre",
+ (".//div[@class='inc-pyobj2 highlight-text notranslate']//pre",
r'^ def baz\(\):\n pass\n\s*$'),
- (".//div[@class='inc-lines highlight-text']//pre",
+ (".//div[@class='inc-lines highlight-text notranslate']//pre",
r'^class Foo:\n pass\nclass Bar:\n$'),
- (".//div[@class='inc-startend highlight-text']//pre",
+ (".//div[@class='inc-startend highlight-text notranslate']//pre",
u'^foo = "Including Unicode characters: üöä"\\n$'),
- (".//div[@class='inc-preappend highlight-text']//pre",
+ (".//div[@class='inc-preappend highlight-text notranslate']//pre",
r'(?m)^START CODE$'),
- (".//div[@class='inc-pyobj-dedent highlight-python']//span",
+ (".//div[@class='inc-pyobj-dedent highlight-python notranslate']//span",
r'def'),
- (".//div[@class='inc-tab3 highlight-text']//pre",
+ (".//div[@class='inc-tab3 highlight-text notranslate']//pre",
r'-| |-'),
- (".//div[@class='inc-tab8 highlight-python']//pre/span",
+ (".//div[@class='inc-tab8 highlight-python notranslate']//pre/span",
r'-| |-'),
],
'autodoc.html': [