(self)
| 536 | dom.unlink() |
| 537 | |
| 538 | def testElementReprAndStrUnicodeNS(self): |
| 539 | dom = Document() |
| 540 | el = dom.appendChild( |
| 541 | dom.createElementNS("http://www.slashdot.org", "slash:abc")) |
| 542 | string1 = repr(el) |
| 543 | string2 = str(el) |
| 544 | self.assertEqual(string1, string2) |
| 545 | self.assertIn("slash:abc", string1) |
| 546 | dom.unlink() |
| 547 | |
| 548 | def testAttributeRepr(self): |
| 549 | dom = Document() |
nothing calls this directly
no test coverage detected