(self)
| 1508 | self.checkWholeText(text2, "cabd") |
| 1509 | |
| 1510 | def testPatch1094164(self): |
| 1511 | doc = parseString("<doc><e/></doc>") |
| 1512 | elem = doc.documentElement |
| 1513 | e = elem.firstChild |
| 1514 | self.assertIs(e.parentNode, elem, "Before replaceChild()") |
| 1515 | # Check that replacing a child with itself leaves the tree unchanged |
| 1516 | elem.replaceChild(e, e) |
| 1517 | self.assertIs(e.parentNode, elem, "After replaceChild()") |
| 1518 | |
| 1519 | def testReplaceWholeText(self): |
| 1520 | def setup(): |
nothing calls this directly
no test coverage detected