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

Function test_read_csv_reference_cycle

python/pyarrow/tests/test_csv.py:2177–2186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2175
2176
2177def test_read_csv_reference_cycle():
2178 # ARROW-13187
2179 def inner():
2180 buf = io.BytesIO(b"a,b,c\n1,2,3\n4,5,6")
2181 table = read_csv(buf)
2182 return weakref.ref(table)
2183
2184 with util.disabled_gc():
2185 wr = inner()
2186 assert wr() is None
2187
2188
2189@pytest.mark.parametrize("type_factory", (

Callers

nothing calls this directly

Calls 1

innerFunction · 0.85

Tested by

no test coverage detected