(read_data)
| 2962 | |
| 2963 | |
| 2964 | def _to_stream(read_data): |
| 2965 | if isinstance(read_data, bytes): |
| 2966 | return io.BytesIO(read_data) |
| 2967 | else: |
| 2968 | return io.StringIO(read_data) |
| 2969 | |
| 2970 | |
| 2971 | def mock_open(mock=None, read_data=''): |
no outgoing calls
no test coverage detected
searching dependent graphs…