Bug #2137: Remove test_struct.test_crasher, which was meaningful

only on 32-bit systems.
This commit is contained in:
Martin v. Löwis 2008-02-18 17:46:27 +00:00
parent 42e4124304
commit 328c643bcb
2 changed files with 3 additions and 4 deletions

View File

@ -618,12 +618,8 @@ def test_unpack_with_buffer():
value, = struct.unpack('>I', data) value, = struct.unpack('>I', data)
vereq(value, 0x12345678) vereq(value, 0x12345678)
def test_crasher():
assertRaises(MemoryError, struct.pack, "357913941c", "a")
# Test methods to pack and unpack from buffers rather than strings. # Test methods to pack and unpack from buffers rather than strings.
test_unpack_from() test_unpack_from()
test_pack_into() test_pack_into()
test_pack_into_fn() test_pack_into_fn()
test_unpack_with_buffer() test_unpack_with_buffer()
test_crasher()

View File

@ -15,6 +15,9 @@ Extension Modules
- Fix deallocation of array objects when allocation ran out of memory. - Fix deallocation of array objects when allocation ran out of memory.
Remove array test case that was incorrect on 64-bit systems. 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.2c1? What's New in Python 2.5.2c1?
============================= =============================