From: Ezio Melotti Date: Tue, 3 Aug 2010 06:39:49 +0000 (+0000) Subject: Try to fix test_struct.py on some buildbots. X-Git-Tag: v2.6.6rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=192f6782c6aa1cb1979aa6c494e01268f5aabab1;p=thirdparty%2FPython%2Fcpython.git Try to fix test_struct.py on some buildbots. --- diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index c0b5e7c69c65..0a78022b2644 100644 --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py @@ -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)