(self)
| 1462 | doc.unlink() |
| 1463 | |
| 1464 | def testRenameOther(self): |
| 1465 | # We have to create a comment node explicitly since not all DOM |
| 1466 | # builders used with minidom add comments to the DOM. |
| 1467 | doc = xml.dom.minidom.getDOMImplementation().createDocument( |
| 1468 | xml.dom.EMPTY_NAMESPACE, "e", None) |
| 1469 | node = doc.createComment("comment") |
| 1470 | self.assertRaises(xml.dom.NotSupportedErr, doc.renameNode, node, |
| 1471 | xml.dom.EMPTY_NAMESPACE, "foo") |
| 1472 | doc.unlink() |
| 1473 | |
| 1474 | def testWholeText(self): |
| 1475 | doc = parseString("<doc>a</doc>") |
nothing calls this directly
no test coverage detected