MCPcopy Index your code
hub / github.com/python-openxml/python-docx / from_offset_fixture

Method from_offset_fixture

tests/image/test_png.py:401–405  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

399
400 @pytest.fixture
401 def from_offset_fixture(self):
402 bytes_ = b"\x00\x00\x00\x2a\x00\x00\x00\x18"
403 stream_rdr = StreamReader(io.BytesIO(bytes_), BIG_ENDIAN)
404 offset, px_width, px_height = 0, 42, 24
405 return stream_rdr, offset, px_width, px_height
406
407
408class Describe_pHYsChunk:

Callers

nothing calls this directly

Calls 1

StreamReaderClass · 0.90

Tested by

no test coverage detected