Add test of hexlify on Unicode strings
This commit is contained in:
parent
57ca873c77
commit
de7c1923c7
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue