(self)
| 1169 | |
| 1170 | @support.cpython_only |
| 1171 | def test_sizeof_with_buffer(self): |
| 1172 | a = array.array(self.typecode, self.example) |
| 1173 | basesize = support.calcvobjsize('Pn2Pi') |
| 1174 | buffer_size = a.buffer_info()[1] * a.itemsize |
| 1175 | support.check_sizeof(self, a, basesize + buffer_size) |
| 1176 | |
| 1177 | @support.cpython_only |
| 1178 | def test_sizeof_without_buffer(self): |
nothing calls this directly
no test coverage detected