Add test of hexlify on Unicode strings

This commit is contained in:
Jeremy Hylton 2001-10-11 14:09:03 +00:00
parent 57ca873c77
commit de7c1923c7

View file

@ -110,3 +110,7 @@ except TypeError:
pass
else:
print 'expected TypeError not raised'
# Verify the treatment of Unicode strings
verify(binascii.hexlify(u'a') == '61', "hexlify failed for Unicode")