Commits

Ezio Melotti committed d265f91

Try again to fix the buildbots.

Comments (0)

Files changed (1)

Lib/test/test_struct.py

 
     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)