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

Function test_array_ref_to_ndarray_base

python/pyarrow/tests/test_array.py:742–747  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

740
741@pytest.mark.numpy
742def test_array_ref_to_ndarray_base():
743 arr = np.array([1, 2, 3])
744
745 refcount = sys.getrefcount(arr)
746 arr2 = pa.array(arr) # noqa
747 assert sys.getrefcount(arr) == (refcount + 1)
748
749
750def test_array_eq():

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected