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

Method test_issue18347

Lib/test/test_xml_etree.py:1073–1078  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1071 self.assertEqual(serialize(e, method="text"), '1 < 2\n')
1072
1073 def test_issue18347(self):
1074 e = ET.XML('<html><CamelCase>text</CamelCase></html>')
1075 self.assertEqual(serialize(e),
1076 '<html><CamelCase>text</CamelCase></html>')
1077 self.assertEqual(serialize(e, method="html"),
1078 '<html><CamelCase>text</CamelCase></html>')
1079
1080 def test_entity(self):
1081 # Test entity handling.

Callers

nothing calls this directly

Calls 2

serializeFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected