MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_sizeof_without_buffer

Method test_sizeof_without_buffer

Lib/test/test_array.py:1178–1181  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1176
1177 @support.cpython_only
1178 def test_sizeof_without_buffer(self):
1179 a = array.array(self.typecode)
1180 basesize = support.calcvobjsize('Pn2Pi')
1181 support.check_sizeof(self, a, basesize)
1182
1183 @unittest.expectedFailure # TODO: RUSTPYTHON; Add support for 'w'
1184 def test_initialize_with_unicode(self):

Callers

nothing calls this directly

Calls 1

check_sizeofMethod · 0.45

Tested by

no test coverage detected