(self)
| 711 | self.assertRaises(xml.dom.NotFoundErr, attrs.removeNamedItem, "a") |
| 712 | |
| 713 | def testRemoveNamedItemNS(self): |
| 714 | doc = parseString("<doc xmlns:a='http://xml.python.org/' a:b=''/>") |
| 715 | e = doc.documentElement |
| 716 | attrs = e.attributes |
| 717 | a1 = e.getAttributeNodeNS("http://xml.python.org/", "b") |
| 718 | a2 = attrs.removeNamedItemNS("http://xml.python.org/", "b") |
| 719 | self.assertTrue(a1.isSameNode(a2)) |
| 720 | self.assertRaises(xml.dom.NotFoundErr, attrs.removeNamedItemNS, |
| 721 | "http://xml.python.org/", "b") |
| 722 | |
| 723 | def testAttrListValues(self): pass |
| 724 |
nothing calls this directly
no test coverage detected