(self)
| 695 | self.xml('<my:a xmlns:my="qux" b="c"></my:a>')) |
| 696 | |
| 697 | def test_1463026_3_empty(self): |
| 698 | result = self.ioclass() |
| 699 | gen = XMLGenerator(result, short_empty_elements=True) |
| 700 | |
| 701 | gen.startDocument() |
| 702 | gen.startPrefixMapping('my', 'qux') |
| 703 | gen.startElementNS(('qux', 'a'), 'a', {(None, 'b'):'c'}) |
| 704 | gen.endElementNS(('qux', 'a'), 'a') |
| 705 | gen.endPrefixMapping('my') |
| 706 | gen.endDocument() |
| 707 | |
| 708 | self.assertEqual(result.getvalue(), |
| 709 | self.xml('<my:a xmlns:my="qux" b="c"/>')) |
| 710 | |
| 711 | def test_5027_1(self): |
| 712 | # The xml prefix (as in xml:lang below) is reserved and bound by |
nothing calls this directly
no test coverage detected