Commits

Ezio Melotti committed 30a800d

Try to fix test_struct.py on some 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)):
+                                  DeprecationWarning), quite=True):
             x = struct.pack('L', -1)[:4]
         self.assertEqual(x, '\xff'*4)