(self)
| 197 | |
| 198 | @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing' |
| 199 | def test_parse_InputSource(self): |
| 200 | # accept data without declared but with explicitly specified encoding |
| 201 | make_xml_file(self.data, 'iso-8859-1', None) |
| 202 | with open(TESTFN, 'rb') as f: |
| 203 | input = InputSource() |
| 204 | input.setByteStream(f) |
| 205 | input.setEncoding('iso-8859-1') |
| 206 | self.check_parse(input) |
| 207 | |
| 208 | @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing' |
| 209 | def test_parse_close_source(self): |
nothing calls this directly
no test coverage detected