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

Method test_minidom_attribute_order

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

Source from the content-addressed store, hash-verified

1750 pi.nodeValue = "crash"
1751
1752 def test_minidom_attribute_order(self):
1753 xml_str = '<?xml version="1.0" ?><curriculum status="public" company="example"/>'
1754 doc = parseString(xml_str)
1755 output = io.StringIO()
1756 doc.writexml(output)
1757 self.assertEqual(output.getvalue(), xml_str)
1758
1759 def test_toxml_with_attributes_ordered(self):
1760 xml_str = '<?xml version="1.0" ?><curriculum status="public" company="example"/>'

Callers

nothing calls this directly

Calls 4

getvalueMethod · 0.95
parseStringFunction · 0.90
writexmlMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected