]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
quiet, not quite.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 07:18:07 +0000 (07:18 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 07:18:07 +0000 (07:18 +0000)
Lib/test/test_struct.py

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