Commit 4c7c4219 authored by Antoine Pitrou's avatar Antoine Pitrou

Remove workaround

parent e4a18927
......@@ -234,9 +234,7 @@ class PrettyPrintTests(DebuggerTests):
text.encode(encoding)
printable = True
except UnicodeEncodeError:
# Workaround ascii() bug on UCS-2 builds: issue #9804
asc = "'" + text.encode('unicode-escape').decode('ascii') + "'"
self.assertGdbRepr(text, asc)
self.assertGdbRepr(text, ascii(text))
else:
self.assertGdbRepr(text)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment