summaryrefslogtreecommitdiff
path: root/Lib/test/test_struct.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-08-03 08:33:58 +0000
committerEzio Melotti <ezio.melotti@gmail.com>2010-08-03 08:33:58 +0000
commitffd0b8892e797a719c96a22f81546f49f4e2b4e5 (patch)
tree1b4fd776ec56ec1ac9a865bfbb9ba6f0b449166e /Lib/test/test_struct.py
parent9bab5249aa43b0be22c029e6e0877fb300f21c86 (diff)
downloadcpython-git-ffd0b8892e797a719c96a22f81546f49f4e2b4e5.tar.gz
Try again to fix the buildbots.
Diffstat (limited to 'Lib/test/test_struct.py')
-rw-r--r--Lib/test/test_struct.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py
index cfd5d472f0..b7c2127df5 100644
--- a/Lib/test/test_struct.py
+++ b/Lib/test/test_struct.py
@@ -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)