(self)
| 409 | b"This was read from a file.") |
| 410 | |
| 411 | def test_string(self): |
| 412 | # If the source is a string, use it as a system ID and open it. |
| 413 | prep = prepare_input_source(self.file) |
| 414 | self.assertIsNone(prep.getCharacterStream()) |
| 415 | self.checkContent(prep.getByteStream(), |
| 416 | b"This was read from a file.") |
| 417 | |
| 418 | def test_path_objects(self): |
| 419 | # If the source is a Path object, use it as a system ID and open it. |
nothing calls this directly
no test coverage detected