summaryrefslogtreecommitdiff
path: root/src/zope/tal/tests/test_xmlparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/zope/tal/tests/test_xmlparser.py')
-rw-r--r--src/zope/tal/tests/test_xmlparser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zope/tal/tests/test_xmlparser.py b/src/zope/tal/tests/test_xmlparser.py
index 437d68f..c02d652 100644
--- a/src/zope/tal/tests/test_xmlparser.py
+++ b/src/zope/tal/tests/test_xmlparser.py
@@ -81,7 +81,7 @@ class EventCollectorExtra(EventCollector):
self.append(("starttag_text", self.get_starttag_text()))
-class SegmentedFile(object):
+class SegmentedFile:
def __init__(self, parts):
self.parts = list(parts)
@@ -253,10 +253,10 @@ text
self._parse_error("<!DOCTYPE foo $ >")
def test_unicode_string(self):
- output = [('starttag', u'p', []),
- ('data', u'\xe4\xf6\xfc\xdf'),
- ('endtag', u'p')]
- self._run_check(u'<p>\xe4\xf6\xfc\xdf</p>', output)
+ output = [('starttag', 'p', []),
+ ('data', '\xe4\xf6\xfc\xdf'),
+ ('endtag', 'p')]
+ self._run_check('<p>\xe4\xf6\xfc\xdf</p>', output)
# Support for the Zope regression test framework: