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

Method test_bug_1534630

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

Source from the content-addressed store, hash-verified

2457 # reported on bugs.python.org
2458
2459 def test_bug_1534630(self):
2460 bob = ET.TreeBuilder()
2461 e = bob.data("data")
2462 e = bob.start("tag", {})
2463 e = bob.end("tag")
2464 e = bob.close()
2465 self.assertEqual(serialize(e), '<tag />')
2466
2467 def test_issue6233(self):
2468 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.85
assertEqualMethod · 0.45

Tested by

no test coverage detected