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
065fa414
Commit
065fa414
authored
Apr 04, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test case for SF bug 534347.
parent
55474766
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Lib/test/test_binascii.py
Lib/test/test_binascii.py
+8
-0
No files found.
Lib/test/test_binascii.py
View file @
065fa414
...
...
@@ -113,3 +113,11 @@ else:
# Verify the treatment of Unicode strings
verify
(
binascii
.
hexlify
(
u'a'
)
==
'61'
,
"hexlify failed for Unicode"
)
# A test for SF bug 534347 (segfaults without the proper fix)
try
:
binascii
.
a2b_qp
(
""
,
**
{
1
:
1
})
except
TypeError
:
pass
else
:
raise
TestFailed
,
"binascii..a2b_qp(**{1:1}) didn't raise TypeError"
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