(self)
| 703 | self.xml('<my:a xmlns:my="qux" b="c"></my:a>')) |
| 704 | |
| 705 | def test_1463026_3_empty(self): |
| 706 | result = self.ioclass() |
| 707 | gen = XMLGenerator(result, short_empty_elements=True) |
| 708 | |
| 709 | gen.startDocument() |
| 710 | gen.startPrefixMapping('my', 'qux') |
| 711 | gen.startElementNS(('qux', 'a'), 'a', {(None, 'b'):'c'}) |
| 712 | gen.endElementNS(('qux', 'a'), 'a') |
| 713 | gen.endPrefixMapping('my') |
| 714 | gen.endDocument() |
| 715 | |
| 716 | self.assertEqual(result.getvalue(), |
| 717 | self.xml('<my:a xmlns:my="qux" b="c"/>')) |
| 718 | |
| 719 | @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing' |
| 720 | def test_5027_1(self): |
nothing calls this directly
no test coverage detected