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

Method testElementReprAndStrUnicode

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

Source from the content-addressed store, hash-verified

529 dom.unlink()
530
531 def testElementReprAndStrUnicode(self):
532 dom = Document()
533 el = dom.appendChild(dom.createElement("abc"))
534 string1 = repr(el)
535 string2 = str(el)
536 self.assertEqual(string1, string2)
537 dom.unlink()
538
539 def testElementReprAndStrUnicodeNS(self):
540 dom = Document()

Callers

nothing calls this directly

Calls 7

appendChildMethod · 0.95
createElementMethod · 0.95
unlinkMethod · 0.95
DocumentClass · 0.90
reprFunction · 0.85
strFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected