(self)
| 1283 | self.assertEqual(parser.getLineNumber(), 1) |
| 1284 | |
| 1285 | def test_expat_locator_withinfo(self): |
| 1286 | result = BytesIO() |
| 1287 | xmlgen = XMLGenerator(result) |
| 1288 | parser = create_parser() |
| 1289 | parser.setContentHandler(xmlgen) |
| 1290 | parser.parse(TEST_XMLFILE) |
| 1291 | |
| 1292 | self.assertEqual(parser.getSystemId(), TEST_XMLFILE) |
| 1293 | self.assertEqual(parser.getPublicId(), None) |
| 1294 | |
| 1295 | @requires_nonascii_filenames |
| 1296 | def test_expat_locator_withinfo_nonascii(self): |
nothing calls this directly
no test coverage detected