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

Method test_bug_1534630

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

Source from the content-addressed store, hash-verified

2418 # reported on bugs.python.org
2419
2420 def test_bug_1534630(self):
2421 bob = ET.TreeBuilder()
2422 e = bob.data("data")
2423 e = bob.start("tag", {})
2424 e = bob.end("tag")
2425 e = bob.close()
2426 self.assertEqual(serialize(e), '<tag />')
2427
2428 def test_issue6233(self):
2429 e = ET.XML(b"<?xml version='1.0' encoding='utf-8'?>"

Callers

nothing calls this directly

Calls 6

dataMethod · 0.95
startMethod · 0.95
endMethod · 0.95
closeMethod · 0.95
serializeFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected