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

Method _ilist

Lib/test/test_xml_etree.py:3605–3606  ·  view source on GitHub ↗
(self, elem, tag=None)

Source from the content-addressed store, hash-verified

3603
3604class ElementIterTest(unittest.TestCase):
3605 def _ilist(self, elem, tag=None):
3606 return summarize_list(elem.iter(tag))
3607
3608 def test_basic(self):
3609 doc = ET.XML("<html><body>this is a <i>paragraph</i>.</body>..</html>")

Callers 3

test_basicMethod · 0.95
test_cornersMethod · 0.95
test_iter_by_tagMethod · 0.95

Calls 2

summarize_listFunction · 0.85
iterMethod · 0.45

Tested by

no test coverage detected