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

Method it_can_change_its_text

tests/text/test_text.py:892–898  ·  view source on GitHub ↗
(self, p_cxml: str, value: str, expected_cxml: str)

Source from the content-addressed store, hash-verified

890 ],
891 )
892 def it_can_change_its_text(self, p_cxml: str, value: str, expected_cxml: str):
893 p = cast("CT_TextParagraph", element(p_cxml))
894 paragraph = _Paragraph(p, None)
895
896 paragraph.text = value
897
898 assert paragraph._element.xml == xml(expected_cxml)
899
900 # fixtures ---------------------------------------------
901

Callers

nothing calls this directly

Calls 3

_ParagraphClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected