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

Method test_test_find_with_ns

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

Source from the content-addressed store, hash-verified

3469 ['tag', 'tag'])
3470
3471 def test_test_find_with_ns(self):
3472 e = ET.XML(SAMPLE_XML_NS)
3473 self.assertEqual(summarize_list(e.findall('tag')), [])
3474 self.assertEqual(
3475 summarize_list(e.findall("{http://effbot.org/ns}tag")),
3476 ['{http://effbot.org/ns}tag'] * 2)
3477 self.assertEqual(
3478 summarize_list(e.findall(".//{http://effbot.org/ns}tag")),
3479 ['{http://effbot.org/ns}tag'] * 3)
3480
3481 def test_findall_different_nsmaps(self):
3482 root = ET.XML('''

Callers

nothing calls this directly

Calls 3

summarize_listFunction · 0.85
assertEqualMethod · 0.45
findallMethod · 0.45

Tested by

no test coverage detected