1. Armin Rigo
  2. cpython-withatomic

Commits

Ezio Melotti  committed 7b584a1

quiet, not quite.

  • Participants
  • Parent commits 63f3837
  • Branches 2.6

Comments (0)

Files changed (1)

File Lib/test/test_struct.py

View file
     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), quite=True):
+                                  DeprecationWarning), quiet=True):
             x = struct.pack('L', -1)[:4]
         self.assertEqual(x, '\xff'*4)