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

Method test_pack_into_fn

Lib/test/test_struct.py:493–495  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

491
492 @unittest.expectedFailure # TODO: RUSTPYTHON; BufferError: non-contiguous buffer is not a bytes-like object
493 def test_pack_into_fn(self):
494 pack_into = lambda *args: struct.pack_into('21s', *args)
495 self._test_pack_into(pack_into)
496
497 def test_unpack_with_buffer(self):
498 # SF bug 1563759: struct.unpack doesn't support buffer protocol objects

Callers

nothing calls this directly

Calls 2

_test_pack_intoMethod · 0.95
pack_intoMethod · 0.45

Tested by

no test coverage detected