()
| 480 | old_allocated = pa.total_allocated_bytes() |
| 481 | |
| 482 | def gen(): |
| 483 | if True: |
| 484 | try: |
| 485 | raise ValueError('foo') |
| 486 | except ValueError as e: |
| 487 | raise NotImplementedError('bar') from e |
| 488 | else: |
| 489 | yield from make_batches() |
| 490 | |
| 491 | original = pa.RecordBatchReader.from_batches(make_schema(), gen()) |
| 492 | original._export_to_c(ptr_stream) |
no test coverage detected