mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Add test of hexlify on Unicode strings
This commit is contained in:
parent
57ca873c77
commit
de7c1923c7
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue