Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_allocate_buffer_resizable
Function
test_allocate_buffer_resizable
python/pyarrow/tests/test_io.py:674–679 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
672
673
674
def
test_allocate_buffer_resizable():
675
buf = pa.allocate_buffer(100, resizable=True)
676
assert isinstance(buf, pa.ResizableBuffer)
677
678
buf.resize(200)
679
assert buf.size == 200
680
681
682
@pytest.mark.numpy
Callers
nothing calls this directly
Calls
1
resize
Method · 0.80
Tested by
no test coverage detected