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
328c643b
Commit
328c643b
authored
Feb 18, 2008
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #2137: Remove test_struct.test_crasher, which was meaningful
only on 32-bit systems.
parent
42e41243
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Lib/test/test_struct.py
Lib/test/test_struct.py
+0
-4
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_struct.py
View file @
328c643b
...
...
@@ -618,12 +618,8 @@ def test_unpack_with_buffer():
value
,
=
struct
.
unpack
(
'>I'
,
data
)
vereq
(
value
,
0x12345678
)
def
test_crasher
():
assertRaises
(
MemoryError
,
struct
.
pack
,
"357913941c"
,
"a"
)
# Test methods to pack and unpack from buffers rather than strings.
test_unpack_from
()
test_pack_into
()
test_pack_into_fn
()
test_unpack_with_buffer
()
test_crasher
()
Misc/NEWS
View file @
328c643b
...
...
@@ -15,6 +15,9 @@ Extension Modules
- Fix deallocation of array objects when allocation ran out of memory.
Remove array test case that was incorrect on 64-bit systems.
- Bug #2137: Remove test_struct.test_crasher, which was meaningful
only on 32-bit systems.
What'
s
New
in
Python
2.5.2
c1
?
=============================
...
...
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