Index: tests/server/ui/V4Pages.py =================================================================== --- tests/server/ui/V4Pages.py +++ tests/server/ui/V4Pages.py @@ -19,6 +19,7 @@ from future import standard_library standard_library.install_aliases() +from builtins import chr import logging import re import sys @@ -113,7 +114,7 @@ try: parser = ET.XMLParser() parser.parser.UseForeignDTD(True) - parser.entity.update((x, unichr(i)) for x, i in name2codepoint.items()) + parser.entity.update((x, chr(i)) for x, i in name2codepoint.items()) tree = ET.fromstring(html_string, parser=parser) except: # noqa FIXME: figure out what we expect this to throw. dump_html(html_string)