Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_weakref
Function
test_weakref
python/pyarrow/tests/test_array.py:56–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
55
56
def
test_weakref():
57
arr = pa.array([1, 2, 3])
58
wr = weakref.ref(arr)
59
assert wr() is not None
60
del arr
61
assert wr() is None
62
63
64
def
test_getitem_NULL():
Callers
nothing calls this directly
Calls
1
array
Method · 0.45
Tested by
no test coverage detected