MCPcopy Create free account
hub / github.com/apache/arrow / gen

Function gen

python/pyarrow/tests/test_cffi.py:515–522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)

Callers 15

test_eqFunction · 0.85
do_actionMethod · 0.85
TEST_FFunction · 0.85
UnsafeAppendMethod · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
FirstBlockMethod · 0.85
generator.hFile · 0.85
GenerateTypedDataMethod · 0.85
TEST_PFunction · 0.85
TESTFunction · 0.85

Calls 1

make_batchesFunction · 0.70

Tested by

no test coverage detected