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

Function test_leak1

python/scripts/test_leak.py:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_leak1():
51 data = [pa.array(np.concatenate([np.random.randn(100000)] * 1000))]
52 table = pa.Table.from_arrays(data, ['foo'])
53
54 def func():
55 table.to_pandas()
56 assert_does_not_leak(func)
57
58
59def test_leak2():

Callers

nothing calls this directly

Calls 3

assert_does_not_leakFunction · 0.85
arrayMethod · 0.45
concatenateMethod · 0.45

Tested by

no test coverage detected