def test_deref_vtk(self):
        p = Prop()
        o = tvtk_base.deref_vtk(p)
        self.assertEqual(o.IsA('vtkProperty'), True)
        o1 = tvtk_base.deref_vtk(o)
        self.assertEqual(o1.IsA('vtkProperty'), True)

        o = tvtk_base.deref_vtk(self)
        self.assertEqual(o.__class__.__name__, 'TestTVTKBase')
Test the `deref_vtk` function.
dataset/ETHPy150Open enthought/mayavi/tvtk/tests/test_tvtk_base.py/TestTVTKBase.test_deref_vtk