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

Method test_issue6565

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

Source from the content-addressed store, hash-verified

2477 b'<body>t&#227;g</body>')
2478
2479 def test_issue6565(self):
2480 elem = ET.XML("<body><tag/></body>")
2481 self.assertEqual(summarize_list(elem), ['tag'])
2482 newelem = ET.XML(SAMPLE_XML)
2483 elem[:] = newelem[:]
2484 self.assertEqual(summarize_list(elem), ['tag', 'tag', 'section'])
2485
2486 def test_issue10777(self):
2487 # Registering a namespace twice caused a "dictionary changed size during

Callers

nothing calls this directly

Calls 2

summarize_listFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected