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.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 8a908b8e3..ce3e4af56 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -153,11 +153,11 @@ def test_html_warnings(app, warning):
(".//pre/span", 'line 2'),
],
'includes.html': [
- (".//pre", u'Max Strauß'),
+ (".//pre", 'Max Strauß'),
(".//a[@class='reference download internal']", ''),
- (".//pre/span", u'"quotes"'),
- (".//pre/span", u"'included'"),
- (".//pre/span[@class='s2']", u'üöä'),
+ (".//pre/span", '"quotes"'),
+ (".//pre/span", "'included'"),
+ (".//pre/span[@class='s2']", 'üöä'),
(".//div[@class='inc-pyobj1 highlight-text notranslate']//pre",
r'^class Foo:\n pass\n\s*$'),
(".//div[@class='inc-pyobj2 highlight-text notranslate']//pre",
@@ -165,7 +165,7 @@ def test_html_warnings(app, warning):
(".//div[@class='inc-lines highlight-text notranslate']//pre",
r'^class Foo:\n pass\nclass Bar:\n$'),
(".//div[@class='inc-startend highlight-text notranslate']//pre",
- u'^foo = "Including Unicode characters: üöä"\\n$'),
+ '^foo = "Including Unicode characters: üöä"\\n$'),
(".//div[@class='inc-preappend highlight-text notranslate']//pre",
r'(?m)^START CODE$'),
(".//div[@class='inc-pyobj-dedent highlight-python notranslate']//span",
@@ -205,7 +205,7 @@ def test_html_warnings(app, warning):
(".//li/strong", r'^program\\n$'),
(".//li/em", r'^dfn\\n$'),
(".//li/kbd", r'^kbd\\n$'),
- (".//li/span", u'File \N{TRIANGULAR BULLET} Close'),
+ (".//li/span", 'File \N{TRIANGULAR BULLET} Close'),
(".//li/code/span[@class='pre']", '^a/$'),
(".//li/code/em/span[@class='pre']", '^varpart$'),
(".//li/code/em/span[@class='pre']", '^i$'),
@@ -266,12 +266,12 @@ def test_html_warnings(app, warning):
# tests for numeric labels
(".//a[@href='#id1'][@class='reference internal']/span", 'Testing various markup'),
# tests for smartypants
- (".//li", u'Smart “quotes” in English ‘text’.'),
- (".//li", u'Smart — long and – short dashes.'),
- (".//li", u'Ellipsis…'),
+ (".//li", 'Smart “quotes” in English ‘text’.'),
+ (".//li", 'Smart — long and – short dashes.'),
+ (".//li", 'Ellipsis…'),
(".//li//code//span[@class='pre']", 'foo--"bar"...'),
- (".//p", u'Этот «абзац» должен использовать „русские“ кавычки.'),
- (".//p", u'Il dit : « C’est “super” ! »'),
+ (".//p", 'Этот «абзац» должен использовать „русские“ кавычки.'),
+ (".//p", 'Il dit : « C’est “super” ! »'),
],
'objects.html': [
(".//dt[@id='mod.Cls.meth1']", ''),