(self)
| 1213 | |
| 1214 | @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing' |
| 1215 | def test_expat_incremental(self): |
| 1216 | result = BytesIO() |
| 1217 | xmlgen = XMLGenerator(result) |
| 1218 | parser = create_parser() |
| 1219 | parser.setContentHandler(xmlgen) |
| 1220 | |
| 1221 | parser.feed("<doc>") |
| 1222 | parser.feed("</doc>") |
| 1223 | parser.close() |
| 1224 | |
| 1225 | self.assertEqual(result.getvalue(), start + b"<doc></doc>") |
| 1226 | |
| 1227 | @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing' |
| 1228 | def test_expat_incremental_reset(self): |
nothing calls this directly
no test coverage detected