(self)
| 708 | |
| 709 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 710 | def testRemoveNamedItem(self): |
| 711 | doc = parseString("<doc a=''/>") |
| 712 | e = doc.documentElement |
| 713 | attrs = e.attributes |
| 714 | a1 = e.getAttributeNode("a") |
| 715 | a2 = attrs.removeNamedItem("a") |
| 716 | self.assertTrue(a1.isSameNode(a2)) |
| 717 | self.assertRaises(xml.dom.NotFoundErr, attrs.removeNamedItem, "a") |
| 718 | |
| 719 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 720 | def testRemoveNamedItemNS(self): |
nothing calls this directly
no test coverage detected