]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Try to fix test_struct.py on some buildbots.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 06:39:49 +0000 (06:39 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 06:39:49 +0000 (06:39 +0000)
Lib/test/test_struct.py

index c0b5e7c69c65ff8f80d7aa1f69f1799f6c2103a3..0a78022b26448ab023ada05f98eae92b987221e1 100644 (file)
@@ -493,7 +493,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)):
+                                  DeprecationWarning), quite=True):
             x = struct.pack('L', -1)[:4]
         self.assertEqual(x, '\xff'*4)