commit | ffd0b8892e797a719c96a22f81546f49f4e2b4e5 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Tue Aug 03 08:33:58 2010 +0000 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Tue Aug 03 08:33:58 2010 +0000 |
tree | 1b4fd776ec56ec1ac9a865bfbb9ba6f0b449166e | |
parent | 9bab5249aa43b0be22c029e6e0877fb300f21c86 [diff] [blame] |
Try again to fix the buildbots.
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index cfd5d47..b7c2127 100644 --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py
@@ -492,8 +492,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), quiet=True): + with check_warnings(quiet=True): x = struct.pack('L', -1)[:4] self.assertEqual(x, '\xff'*4)