From 754d5ef8da92d71b72be4b129af5011cd4480dd0 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 30 Jul 2012 13:58:42 +0200 Subject: Better test for BytesIO.__sizeof__, now that the struct module supports (s)size_t. Followup to issue #15489. --- Lib/test/test_memoryio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_memoryio.py b/Lib/test/test_memoryio.py index 9248098..04ec8e7 100644 --- a/Lib/test/test_memoryio.py +++ b/Lib/test/test_memoryio.py @@ -658,7 +658,7 @@ class CBytesIOTest(PyBytesIOTest): @support.cpython_only def test_sizeof(self): - basesize = support.calcobjsize('P2PP2PP') + basesize = support.calcobjsize('P2nN2Pn') check = self.check_sizeof self.assertEqual(object.__sizeof__(io.BytesIO()), basesize) check(io.BytesIO(), basesize ) -- cgit v0.12