+ def test_only_decode_ascii(self):
+ # SF bug #1651995, make sure non-ascii character references are not decoded
+ s = '<signs exclamation="!" copyright="©" quoteleft="‘">'
+ [('exclamation', '!'), ('copyright', '©'),
+ ('quoteleft', '‘')]),
# XXX These tests have been disabled by prefixing their names with
# an underscore. The first two exercise outstanding bugs in the
# sgmllib module, and the third exhibits questionable behavior