(self)
| 1236 | doc.unlink() |
| 1237 | |
| 1238 | def testNodeListItem(self): |
| 1239 | doc = parseString("<doc><e/><e/></doc>") |
| 1240 | children = doc.childNodes |
| 1241 | docelem = children[0] |
| 1242 | self.confirm(children[0] is children.item(0) |
| 1243 | and children.item(1) is None |
| 1244 | and docelem.childNodes.item(0) is docelem.childNodes[0] |
| 1245 | and docelem.childNodes.item(1) is docelem.childNodes[1] |
| 1246 | and docelem.childNodes.item(0).childNodes.item(0) is None, |
| 1247 | "test NodeList.item()") |
| 1248 | doc.unlink() |
| 1249 | |
| 1250 | def testEncodings(self): |
| 1251 | doc = parseString('<foo>€</foo>') |
nothing calls this directly
no test coverage detected