()
| 48 | |
| 49 | |
| 50 | def 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 | |
| 59 | def test_leak2(): |
nothing calls this directly
no test coverage detected