Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
286225b5
Commit
286225b5
authored
May 20, 2002
by
Michael W. Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
easy --disable-unicode proofing.
parent
d95c8283
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Lib/test/test_binascii.py
Lib/test/test_binascii.py
+4
-2
No files found.
Lib/test/test_binascii.py
View file @
286225b5
"""Test the binascii C module."""
from
test_support
import
verify
,
verbose
from
test_support
import
verify
,
verbose
,
have_unicode
import
binascii
# Show module doc string
...
...
@@ -112,7 +112,9 @@ else:
print
'expected TypeError not raised'
# Verify the treatment of Unicode strings
verify
(
binascii
.
hexlify
(
u'a'
)
==
'61'
,
"hexlify failed for Unicode"
)
if
have_unicode
:
verify
(
binascii
.
hexlify
(
unicode
(
'a'
,
'ascii'
))
==
'61'
,
"hexlify failed for Unicode"
)
# A test for SF bug 534347 (segfaults without the proper fix)
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment