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

Method test_findall_with_mutating

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

Source from the content-addressed store, hash-verified

3281 self.assertEqual(root_elem.findtext('./bar'), '')
3282
3283 def test_findall_with_mutating(self):
3284 for cls in [MutationDeleteElementPath, MutationClearElementPath]:
3285 with self.subTest(cls):
3286 e = ET.Element('foo')
3287 e.extend([ET.Element('bar')])
3288 e.findall(cls(e, 'x'))
3289
3290 def test_findall_with_error(self):
3291 e = ET.Element('foo')

Callers

nothing calls this directly

Calls 4

extendMethod · 0.95
findallMethod · 0.95
clsClass · 0.50
subTestMethod · 0.45

Tested by

no test coverage detected