[Python-checkins] r83637 - python/branches/release26-maint/Lib/test/test_struct.py

ezio.melotti python-checkins at python.org
Tue Aug 3 08:39:49 CEST 2010


Author: ezio.melotti
Date: Tue Aug  3 08:39:49 2010
New Revision: 83637

Log:
Try to fix test_struct.py on some buildbots.

Modified:
   python/branches/release26-maint/Lib/test/test_struct.py

Modified: python/branches/release26-maint/Lib/test/test_struct.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_struct.py	(original)
+++ python/branches/release26-maint/Lib/test/test_struct.py	Tue Aug  3 08:39:49 2010
@@ -493,7 +493,7 @@
     def test_issue4228(self):
         # Packing a long may yield either 32 or 64 bits
         with _check_py3k_warnings(("struct integer overflow masking is deprecated",
-                                  DeprecationWarning)):
+                                  DeprecationWarning), quite=True):
             x = struct.pack('L', -1)[:4]
         self.assertEqual(x, '\xff'*4)
 


More information about the Python-checkins mailing list