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

Method test_xinclude_repeated

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

Source from the content-addressed store, hash-verified

2144 '</div>') # C5
2145
2146 def test_xinclude_repeated(self):
2147 from xml.etree import ElementInclude
2148
2149 document = self.xinclude_loader("include_c1_repeated.xml")
2150 ElementInclude.include(document, self.xinclude_loader)
2151 self.assertEqual(1+4*2, len(document.findall(".//p")))
2152
2153 def test_xinclude_failures(self):
2154 from xml.etree import ElementInclude

Callers

nothing calls this directly

Calls 3

xinclude_loaderMethod · 0.95
assertEqualMethod · 0.45
findallMethod · 0.45

Tested by

no test coverage detected