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

Method text_set_fixture

tests/text/test_paragraph.py:338–343  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

336
337 @pytest.fixture
338 def text_set_fixture(self):
339 paragraph = Paragraph(element("w:p"), None)
340 paragraph.add_run("must not appear in result")
341 new_text_value = "foo\tbar\rbaz\n"
342 expected_text_value = "foo\tbar\nbaz\n"
343 return paragraph, new_text_value, expected_text_value
344
345 # fixture components ---------------------------------------------
346

Callers

nothing calls this directly

Calls 3

add_runMethod · 0.95
ParagraphClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected