MCPcopy 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
56def 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
64def test_getitem_NULL():

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected