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

Method size_fixture

tests/image/test_image.py:210–214  ·  view source on GitHub ↗
(self, image_header_)

Source from the content-addressed store, hash-verified

208
209 @pytest.fixture
210 def size_fixture(self, image_header_):
211 image_header_.px_width, image_header_.px_height = 150, 75
212 image_header_.horz_dpi, image_header_.vert_dpi = 72, 200
213 image = Image(None, None, image_header_)
214 return image, 1905000, 342900
215
216 # fixture components ---------------------------------------------
217

Callers

nothing calls this directly

Calls 1

ImageClass · 0.90

Tested by

no test coverage detected