diff Lib/test/test_struct.py @ 47721:9155ff78fd06 legacy-trunk

silence the test when it is skipped on some platforms. should fix a buildbot.
author Gregory P. Smith <greg@mad-scientist.com>
date Sat, 14 Jun 2008 17:34:09 +0000
parents 1c964ed35ef9
children b35c8b1940af
line wrap: on
line diff
--- a/Lib/test/test_struct.py	Sat Jun 14 14:24:47 2008 +0000
+++ b/Lib/test/test_struct.py	Sat Jun 14 17:34:09 2008 +0000
@@ -569,11 +569,9 @@
             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."