(self)
| 1250 | doc.unlink() |
| 1251 | |
| 1252 | def testNodeListItem(self): |
| 1253 | doc = parseString("<doc><e/><e/></doc>") |
| 1254 | children = doc.childNodes |
| 1255 | docelem = children[0] |
| 1256 | self.confirm(children[0] is children.item(0) |
| 1257 | and children.item(1) is None |
| 1258 | and docelem.childNodes.item(0) is docelem.childNodes[0] |
| 1259 | and docelem.childNodes.item(1) is docelem.childNodes[1] |
| 1260 | and docelem.childNodes.item(0).childNodes.item(0) is None, |
| 1261 | "test NodeList.item()") |
| 1262 | doc.unlink() |
| 1263 | |
| 1264 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 1265 | def testEncodings(self): |
nothing calls this directly
no test coverage detected