(self)
| 373 | |
| 374 | |
| 375 | def test_character_stream(self): |
| 376 | # If the source is an InputSource with a character stream, use it. |
| 377 | src = InputSource(self.file) |
| 378 | src.setCharacterStream(self.make_character_stream()) |
| 379 | prep = prepare_input_source(src) |
| 380 | self.assertIsNone(prep.getByteStream()) |
| 381 | self.checkContent(prep.getCharacterStream(), |
| 382 | "This is a character stream.") |
| 383 | |
| 384 | def test_byte_stream(self): |
| 385 | # If the source is an InputSource that does not have a character |
nothing calls this directly
no test coverage detected