(file_path, data)
| 2100 | file_path = tmpdir / 'output_stream' |
| 2101 | |
| 2102 | def check_data(file_path, data): |
| 2103 | with pa.output_stream(file_path) as stream: |
| 2104 | stream.write(data) |
| 2105 | with open(str(file_path), 'rb') as f: |
| 2106 | assert f.read() == data |
| 2107 | |
| 2108 | check_data(file_path, data) |
| 2109 | check_data(str(file_path), data) |
no test coverage detected