(self)
| 603 | |
| 604 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 605 | def testAltNewline(self): |
| 606 | str = '<?xml version="1.0" ?>\n<a b="c"/>\n' |
| 607 | dom = parseString(str) |
| 608 | domstr = dom.toprettyxml(newl="\r\n") |
| 609 | dom.unlink() |
| 610 | self.assertEqual(domstr, str.replace("\n", "\r\n")) |
| 611 | |
| 612 | def test_toprettyxml_with_text_nodes(self): |
| 613 | # see issue #4147, text nodes are not indented |
nothing calls this directly
no test coverage detected