MCPcopy Create free account
hub / github.com/scanny/python-pptx / italic_fixture

Method italic_fixture

tests/text/test_fonts.py:242–247  ·  view source on GitHub ↗
(self, request, _tables_, head_table_)

Source from the content-addressed store, hash-verified

240
241 @pytest.fixture(params=[("head", True, True), ("head", False, False), ("foob", True, False)])
242 def italic_fixture(self, request, _tables_, head_table_):
243 key, is_italic, expected_value = request.param
244 head_table_.is_italic = is_italic
245 _tables_.return_value = {key: head_table_}
246 font = _Font(None)
247 return font, expected_value
248
249 @pytest.fixture
250 def iter_fixture(self, _table_count_, stream_read_):

Callers

nothing calls this directly

Calls 1

_FontClass · 0.90

Tested by

no test coverage detected