[Python-checkins] r64280 - python/trunk/Lib/test/test_struct.py

gregory.p.smith python-checkins at python.org
Sat Jun 14 19:34:10 CEST 2008


Author: gregory.p.smith
Date: Sat Jun 14 19:34:09 2008
New Revision: 64280

Log:
silence the test when it is skipped on some platforms.  should fix a
buildbot.


Modified:
   python/trunk/Lib/test/test_struct.py

Modified: python/trunk/Lib/test/test_struct.py
==============================================================================
--- python/trunk/Lib/test/test_struct.py	(original)
+++ python/trunk/Lib/test/test_struct.py	Sat Jun 14 19:34:09 2008
@@ -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."
 
 
 


More information about the Python-checkins mailing list