mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +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 @@ def addnoise(line):
|
|||
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