Functions | |
def | gc_tester () |
def | test_indirect_cycle (gc_tester) |
def | test_self_cycle (gc_tester) |
def test_custom_type_setup.gc_tester | ( | ) |
Tests that an object is garbage collected. Assumes that any unreferenced objects are fully collected after calling `gc.collect()`. That is true on CPython, but does not appear to reliably hold on PyPy.
Definition at line 11 of file test_custom_type_setup.py.
def test_custom_type_setup.test_indirect_cycle | ( | gc_tester | ) |
Definition at line 44 of file test_custom_type_setup.py.
def test_custom_type_setup.test_self_cycle | ( | gc_tester | ) |
Definition at line 36 of file test_custom_type_setup.py.