(self)
| 17 | |
| 18 | class TestWeakref(Testing.vtkTest): |
| 19 | def testWeakref(self): |
| 20 | o = vtkObject() |
| 21 | ref = weakref.ref(o) |
| 22 | self.assertEqual(ref().GetClassName(), 'vtkObject') |
| 23 | del o |
| 24 | self.assertEqual(ref(), None) |
| 25 | |
| 26 | def testProxy(self): |
| 27 | o = vtkObject() |
nothing calls this directly
no test coverage detected