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

Method font_fixture

tests/chart/test_datalabel.py:414–418  ·  view source on GitHub ↗
(self, Font_, font_)

Source from the content-addressed store, hash-verified

412
413 @pytest.fixture
414 def font_fixture(self, Font_, font_):
415 dLbls = element("c:dLbls/c:txPr/a:p/a:pPr/a:defRPr")
416 defRPr = dLbls.xpath(".//a:defRPr")[0]
417 data_labels = DataLabels(dLbls)
418 return data_labels, Font_, defRPr, font_
419
420 @pytest.fixture(
421 params=[

Callers

nothing calls this directly

Calls 3

DataLabelsClass · 0.90
elementFunction · 0.85
xpathMethod · 0.45

Tested by

no test coverage detected