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

Method test_issue18347

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

Source from the content-addressed store, hash-verified

1044 self.assertEqual(serialize(e, method="text"), '1 < 2\n')
1045
1046 def test_issue18347(self):
1047 e = ET.XML('<html><CamelCase>text</CamelCase></html>')
1048 self.assertEqual(serialize(e),
1049 '<html><CamelCase>text</CamelCase></html>')
1050 self.assertEqual(serialize(e, method="html"),
1051 '<html><CamelCase>text</CamelCase></html>')
1052
1053 @unittest.expectedFailure # TODO: RUSTPYTHON
1054 def test_entity(self):

Callers

nothing calls this directly

Calls 2

serializeFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected