mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
silence the test when it is skipped on some platforms. should fix a
buildbot.
This commit is contained in:
parent
fd82f2e86a
commit
a0205d0a46
1 changed files with 2 additions and 4 deletions
|
@ -569,11 +569,9 @@ class StructTest(unittest.TestCase):
|
|||
for c in '\x01\x7f\xff\x0f\xf0':
|
||||
self.assertTrue(struct.unpack('>?', c)[0])
|
||||
|
||||
def test_crasher(self):
|
||||
if IS32BIT:
|
||||
if IS32BIT:
|
||||
def test_crasher(self):
|
||||
self.assertRaises(MemoryError, struct.pack, "357913941c", "a")
|
||||
else:
|
||||
print "%s test_crasher skipped on 64bit build."
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue