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

Method test_find_with_mutating

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

Source from the content-addressed store, hash-verified

3237 super().tearDown()
3238
3239 def test_find_with_mutating(self):
3240 for cls in [MutationDeleteElementPath, MutationClearElementPath]:
3241 with self.subTest(cls):
3242 e = ET.Element('foo')
3243 e.extend([ET.Element('bar')])
3244 e.find(cls(e, 'x'))
3245
3246 def test_find_with_error(self):
3247 e = ET.Element('foo')

Callers

nothing calls this directly

Calls 4

extendMethod · 0.95
findMethod · 0.95
clsClass · 0.50
subTestMethod · 0.45

Tested by

no test coverage detected