(self)
| 401 | b"This was read from a file.") |
| 402 | |
| 403 | def test_string(self): |
| 404 | # If the source is a string, use it as a system ID and open it. |
| 405 | prep = prepare_input_source(self.file) |
| 406 | self.assertIsNone(prep.getCharacterStream()) |
| 407 | self.checkContent(prep.getByteStream(), |
| 408 | b"This was read from a file.") |
| 409 | |
| 410 | def test_path_objects(self): |
| 411 | # If the source is a Path object, use it as a system ID and open it. |
nothing calls this directly
no test coverage detected