def test_obj_del(self):
        p = Prop()
        p.representation = 0
        ref = weakref.ref(p)
        del p
        self.assertEqual(ref(), None)
Test object deletion and reference cycles.
dataset/ETHPy150Open enthought/mayavi/tvtk/tests/test_tvtk_base.py/TestTVTKBase.test_obj_del