We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d00f2b7 commit a3e6004Copy full SHA for a3e6004
2 files changed
Lib/test/test_array.py
@@ -1172,14 +1172,14 @@ def test_create_from_bytes(self):
1172
@support.cpython_only
1173
def test_sizeof_with_buffer(self):
1174
a = array.array(self.typecode, self.example)
1175
- basesize = support.calcvobjsize('Pn2Pi')
+ basesize = support.calcvobjsize('PnPi')
1176
buffer_size = a.buffer_info()[1] * a.itemsize
1177
support.check_sizeof(self, a, basesize + buffer_size)
1178
1179
1180
def test_sizeof_without_buffer(self):
1181
a = array.array(self.typecode)
1182
1183
support.check_sizeof(self, a, basesize)
1184
1185
def test_initialize_with_unicode(self):
0 commit comments