(self)
| 423 | b"This is a byte stream.") |
| 424 | |
| 425 | def test_text_file(self): |
| 426 | # If the source is a text file-like object, use it as a character |
| 427 | # stream. |
| 428 | prep = prepare_input_source(self.make_character_stream()) |
| 429 | self.assertIsNone(prep.getByteStream()) |
| 430 | self.checkContent(prep.getCharacterStream(), |
| 431 | "This is a character stream.") |
| 432 | |
| 433 | |
| 434 | # ===== XMLGenerator |
nothing calls this directly
no test coverage detected