MCPcopy Index your code
hub / github.com/python/cpython / test_findtext_with_mutating

Method test_findtext_with_mutating

Lib/test/test_xml_etree.py:3254–3259  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3252 pass
3253
3254 def test_findtext_with_mutating(self):
3255 for cls in [MutationDeleteElementPath, MutationClearElementPath]:
3256 with self.subTest(cls):
3257 e = ET.Element('foo')
3258 e.extend([ET.Element('bar')])
3259 e.findtext(cls(e, 'x'))
3260
3261 def test_findtext_with_error(self):
3262 e = ET.Element('foo')

Callers

nothing calls this directly

Calls 4

extendMethod · 0.95
findtextMethod · 0.95
clsClass · 0.50
subTestMethod · 0.45

Tested by

no test coverage detected