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

Method testWriteXML

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

Source from the content-addressed store, hash-verified

553 dom.unlink()
554
555 def testWriteXML(self):
556 str = '<?xml version="1.0" ?><a b="c"/>'
557 dom = parseString(str)
558 domstr = dom.toxml()
559 dom.unlink()
560 self.assertEqual(str, domstr)
561
562 def test_toxml_quote_text(self):
563 dom = Document()

Callers

nothing calls this directly

Calls 4

parseStringFunction · 0.90
toxmlMethod · 0.80
unlinkMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected