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

Method from_offset_fixture

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

Source from the content-addressed store, hash-verified

420
421 @pytest.fixture
422 def from_offset_fixture(self):
423 bytes_ = b"\x00\x00\x00\x2a\x00\x00\x00\x18\x01"
424 stream_rdr = StreamReader(io.BytesIO(bytes_), BIG_ENDIAN)
425 offset, horz_px_per_unit, vert_px_per_unit, units_specifier = (0, 42, 24, 1)
426 return (stream_rdr, offset, horz_px_per_unit, vert_px_per_unit, units_specifier)

Callers

nothing calls this directly

Calls 1

StreamReaderClass · 0.90

Tested by

no test coverage detected