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

Method testBug1433694

Lib/test/test_minidom.py:1201–1207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1199 doc.unlink()
1200
1201 def testBug1433694(self):
1202 doc = parseString("<o><i/>t</o>")
1203 node = doc.documentElement
1204 node.childNodes[1].nodeValue = ""
1205 node.normalize()
1206 self.assertIsNone(node.childNodes[-1].nextSibling,
1207 "Final child's .nextSibling should be None")
1208
1209 def testSiblings(self):
1210 doc = parseString("<doc><?pi?>text?<elm/></doc>")

Callers

nothing calls this directly

Calls 3

parseStringFunction · 0.90
assertIsNoneMethod · 0.80
normalizeMethod · 0.45

Tested by

no test coverage detected