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:675–680 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
673
674
675
def
test_allocate_buffer_resizable():
676
buf = pa.allocate_buffer(100, resizable=True)
677
assert isinstance(buf, pa.ResizableBuffer)
678
679
buf.resize(200)
680
assert buf.size == 200
681
682
683
@pytest.mark.numpy
Callers
nothing calls this directly
Calls
1
resize
Method · 0.80
Tested by
no test coverage detected