(self)
| 1121 | # ===== InputSource support |
| 1122 | |
| 1123 | def test_expat_inpsource_filename(self): |
| 1124 | parser = create_parser() |
| 1125 | result = BytesIO() |
| 1126 | xmlgen = XMLGenerator(result) |
| 1127 | |
| 1128 | parser.setContentHandler(xmlgen) |
| 1129 | parser.parse(TEST_XMLFILE) |
| 1130 | |
| 1131 | self.assertEqual(result.getvalue(), xml_test_out) |
| 1132 | |
| 1133 | def test_expat_inpsource_sysid(self): |
| 1134 | parser = create_parser() |
nothing calls this directly
no test coverage detected