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

Method testBug0777884

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

Source from the content-addressed store, hash-verified

1191
1192
1193 def testBug0777884(self):
1194 doc = parseString("<o>text</o>")
1195 text = doc.documentElement.childNodes[0]
1196 self.assertEqual(text.nodeType, Node.TEXT_NODE)
1197 # Should run quietly, doing nothing.
1198 text.normalize()
1199 doc.unlink()
1200
1201 def testBug1433694(self):
1202 doc = parseString("<o><i/>t</o>")

Callers

nothing calls this directly

Calls 4

parseStringFunction · 0.90
assertEqualMethod · 0.45
normalizeMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected