diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-14 17:34:09 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-14 17:34:09 (GMT) |
commit | a0205d0a46667bd69b45863537931750ec7ee1c0 (patch) | |
tree | 10a5f54f5fb184ed54897ebac6f9f80653cffd2e /Lib/test/test_struct.py | |
parent | fd82f2e86a8c0de59657465c68b0c442f5c59b35 (diff) | |
download | cpython-a0205d0a46667bd69b45863537931750ec7ee1c0.zip cpython-a0205d0a46667bd69b45863537931750ec7ee1c0.tar.gz cpython-a0205d0a46667bd69b45863537931750ec7ee1c0.tar.bz2 |
silence the test when it is skipped on some platforms. should fix a
buildbot.
Diffstat (limited to 'Lib/test/test_struct.py')
-rw-r--r-- | Lib/test/test_struct.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index 7ee47bf..7fd058b 100644 --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py @@ -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." |