]> granicus.if.org Git - python/commitdiff
Try again to fix the buildbots.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 08:33:58 +0000 (08:33 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 08:33:58 +0000 (08:33 +0000)
Lib/test/test_struct.py

index cfd5d472f02873255732b012ac7dcf0338ac079c..b7c2127df5e3056cb2d4f2fafbf14ed3b0250527 100644 (file)
@@ -492,8 +492,7 @@ class StructTest(unittest.TestCase):
 
     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), quiet=True):
+        with check_warnings(quiet=True):
             x = struct.pack('L', -1)[:4]
         self.assertEqual(x, '\xff'*4)