MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_bug_xmltoolkit28

Method test_bug_xmltoolkit28

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

Source from the content-addressed store, hash-verified

2220 self.assertEqual(tree.findtext("section/tag"), 'subtext')
2221
2222 def test_bug_xmltoolkit28(self):
2223 # .//tag causes exceptions
2224
2225 tree = ET.XML("<doc><table><tbody/></table></doc>")
2226 self.assertEqual(summarize_list(tree.findall(".//thead")), [])
2227 self.assertEqual(summarize_list(tree.findall(".//tbody")), ['tbody'])
2228
2229 def test_bug_xmltoolkitX1(self):
2230 # dump() doesn't flush the output buffer

Callers

nothing calls this directly

Calls 3

summarize_listFunction · 0.85
assertEqualMethod · 0.45
findallMethod · 0.45

Tested by

no test coverage detected