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

Function test_weakref

python/pyarrow/tests/test_builder.py:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_weakref():
26 sbuilder = StringBuilder()
27 wr = weakref.ref(sbuilder)
28 assert wr() is not None
29 del sbuilder
30 assert wr() is None
31
32
33def test_string_builder_append():

Callers

nothing calls this directly

Calls 1

StringBuilderClass · 0.85

Tested by

no test coverage detected