def test_garbage_collection(self):
        input_node = Input()
        output_node = Node(action=lambda value: value,
                           inputs=Node.inputs(input_node))
        self.assertEqual(set([output_node]), input_node._dependents)
        self.assertEqual((input_node,), output_node._positional_inputs)
        input_ref = weakref.ref(input_node)
        output_ref = weakref.ref(output_node)
        del input_node
        del output_node
        gc.collect()
        self.assertEqual(None, input_ref())
        self.assertEqual(None, output_ref())
Generates an editor using the "custom" style.
dataset/ETHPy150Open akaihola/lusmu/lusmu/tests/test_core.py/BaseNodeGarbageCollectionTestCase.test_garbage_collection--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/editors/csv_list_editor.py/CSVListEditor.custom_editor