summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/utils')
-rw-r--r--tests/regressiontests/utils/html.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/regressiontests/utils/html.py b/tests/regressiontests/utils/html.py
index 389ae8ec75..fe40d4eaae 100644
--- a/tests/regressiontests/utils/html.py
+++ b/tests/regressiontests/utils/html.py
@@ -36,13 +36,13 @@ class TestUtilsHtml(unittest.TestCase):
def test_format_html(self):
self.assertEqual(
- html.format_html(u"{0} {1} {third} {fourth}",
- u"< Dangerous >",
- html.mark_safe(u"<b>safe</b>"),
+ html.format_html("{0} {1} {third} {fourth}",
+ "< Dangerous >",
+ html.mark_safe("<b>safe</b>"),
third="< dangerous again",
- fourth=html.mark_safe(u"<i>safe again</i>")
+ fourth=html.mark_safe("<i>safe again</i>")
),
- u"&lt; Dangerous &gt; <b>safe</b> &lt; dangerous again <i>safe again</i>"
+ "&lt; Dangerous &gt; <b>safe</b> &lt; dangerous again <i>safe again</i>"
)
def test_linebreaks(self):