(self)
| 381 | |
| 382 | |
| 383 | def test_character_stream(self): |
| 384 | # If the source is an InputSource with a character stream, use it. |
| 385 | src = InputSource(self.file) |
| 386 | src.setCharacterStream(self.make_character_stream()) |
| 387 | prep = prepare_input_source(src) |
| 388 | self.assertIsNone(prep.getByteStream()) |
| 389 | self.checkContent(prep.getCharacterStream(), |
| 390 | "This is a character stream.") |
| 391 | |
| 392 | def test_byte_stream(self): |
| 393 | # If the source is an InputSource that does not have a character |
nothing calls this directly
no test coverage detected