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

Method testBug0777884

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

Source from the content-addressed store, hash-verified

1204
1205
1206 def testBug0777884(self):
1207 doc = parseString("<o>text</o>")
1208 text = doc.documentElement.childNodes[0]
1209 self.assertEqual(text.nodeType, Node.TEXT_NODE)
1210 # Should run quietly, doing nothing.
1211 text.normalize()
1212 doc.unlink()
1213
1214 def testBug1433694(self):
1215 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