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

Method pHYs_fixture

tests/image/test_png.py:217–224  ·  view source on GitHub ↗
(self, request, IHDR_chunk_, pHYs_chunk_)

Source from the content-addressed store, hash-verified

215
216 @pytest.fixture(params=[True, False])
217 def pHYs_fixture(self, request, IHDR_chunk_, pHYs_chunk_):
218 has_pHYs_chunk = request.param
219 chunks = [IHDR_chunk_]
220 if has_pHYs_chunk:
221 chunks.append(pHYs_chunk_)
222 expected_chunk = pHYs_chunk_ if has_pHYs_chunk else None
223 chunks = _Chunks(chunks)
224 return chunks, expected_chunk
225
226 @pytest.fixture
227 def stream_(self, request):

Callers

nothing calls this directly

Calls 2

_ChunksClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected