(self)
| 1156 | |
| 1157 | @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing' |
| 1158 | def test_expat_inpsource_sysid(self): |
| 1159 | parser = create_parser() |
| 1160 | result = BytesIO() |
| 1161 | xmlgen = XMLGenerator(result) |
| 1162 | |
| 1163 | parser.setContentHandler(xmlgen) |
| 1164 | parser.parse(InputSource(TEST_XMLFILE)) |
| 1165 | |
| 1166 | self.assertEqual(result.getvalue(), xml_test_out) |
| 1167 | |
| 1168 | @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing' |
| 1169 | @requires_nonascii_filenames |
nothing calls this directly
no test coverage detected