()
| 513 | old_allocated = pa.total_allocated_bytes() |
| 514 | |
| 515 | def gen(): |
| 516 | if True: |
| 517 | try: |
| 518 | raise ValueError('foo') |
| 519 | except ValueError as e: |
| 520 | raise NotImplementedError('bar') from e |
| 521 | else: |
| 522 | yield from make_batches() |
| 523 | |
| 524 | original = pa.RecordBatchReader.from_batches(make_schema(), gen()) |
| 525 | original._export_to_c(ptr_stream) |
no test coverage detected