(self)
| 1721 | |
| 1722 | |
| 1723 | def testEmptyXMLNSValue(self): |
| 1724 | doc = parseString("<element xmlns=''>\n" |
| 1725 | "<foo/>\n</element>") |
| 1726 | doc2 = parseString(doc.toxml()) |
| 1727 | self.assertEqual(doc2.namespaceURI, xml.dom.EMPTY_NAMESPACE) |
| 1728 | |
| 1729 | def testExceptionOnSpacesInXMLNSValue(self): |
| 1730 | with self.assertRaises((ValueError, ExpatError)): |
nothing calls this directly
no test coverage detected