summaryrefslogtreecommitdiff
path: root/Lib/test/test_struct.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-02-18 17:46:27 +0000
committerMartin v. Löwis <martin@v.loewis.de>2008-02-18 17:46:27 +0000
commit328c643bcbff5f980e37afe420cecca76472cb9e (patch)
treea224bce9e3c799167513a45b4f40fc452b380413 /Lib/test/test_struct.py
parent42e4124304493e93d490fcf1147617a8adc4da0d (diff)
downloadcpython-git-328c643bcbff5f980e37afe420cecca76472cb9e.tar.gz
Bug #2137: Remove test_struct.test_crasher, which was meaningful
only on 32-bit systems.
Diffstat (limited to 'Lib/test/test_struct.py')
-rw-r--r--Lib/test/test_struct.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py
index 71e35adc0f..7ecb6ac9a0 100644
--- a/Lib/test/test_struct.py
+++ b/Lib/test/test_struct.py
@@ -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()