(self)
| 1492 | self.checkWholeText(text2, "cabd") |
| 1493 | |
| 1494 | def testPatch1094164(self): |
| 1495 | doc = parseString("<doc><e/></doc>") |
| 1496 | elem = doc.documentElement |
| 1497 | e = elem.firstChild |
| 1498 | self.assertIs(e.parentNode, elem, "Before replaceChild()") |
| 1499 | # Check that replacing a child with itself leaves the tree unchanged |
| 1500 | elem.replaceChild(e, e) |
| 1501 | self.assertIs(e.parentNode, elem, "After replaceChild()") |
| 1502 | |
| 1503 | def testReplaceWholeText(self): |
| 1504 | def setup(): |
nothing calls this directly
no test coverage detected