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

Method iter_fixture

tests/image/test_tiff.py:291–296  ·  view source on GitHub ↗
(self, _IfdEntryFactory_, ifd_entry_, ifd_entry_2_)

Source from the content-addressed store, hash-verified

289
290 @pytest.fixture
291 def iter_fixture(self, _IfdEntryFactory_, ifd_entry_, ifd_entry_2_):
292 stream_rdr = StreamReader(io.BytesIO(b"\x00\x02"), BIG_ENDIAN)
293 offsets = [2, 14]
294 ifd_parser = _IfdParser(stream_rdr, offset=0)
295 expected_entries = [ifd_entry_, ifd_entry_2_]
296 return (ifd_parser, _IfdEntryFactory_, stream_rdr, offsets, expected_entries)
297
298
299class Describe_IfdEntryFactory:

Callers

nothing calls this directly

Calls 2

StreamReaderClass · 0.90
_IfdParserClass · 0.90

Tested by

no test coverage detected