| 108 | |
| 109 | |
| 110 | class StreamFormatFixture(IpcFixture): |
| 111 | |
| 112 | # ARROW-6474, for testing writing old IPC protocol with 4-byte prefix |
| 113 | use_legacy_ipc_format = False |
| 114 | # ARROW-9395, for testing writing old metadata version |
| 115 | options = None |
| 116 | is_file = False |
| 117 | |
| 118 | def _get_writer(self, sink, schema): |
| 119 | return pa.ipc.new_stream( |
| 120 | sink, |
| 121 | schema, |
| 122 | options=self.options, |
| 123 | ) |
| 124 | |
| 125 | |
| 126 | class MessageFixture(IpcFixture): |
no outgoing calls