Try again to fix the buildbots.

This commit is contained in:
Ezio Melotti 2010-08-03 08:33:58 +00:00
parent 9bab5249aa
commit ffd0b8892e
1 changed files with 1 additions and 2 deletions

View 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)