Use vtkVariantExtract
(self)
| 161 | self.assertEqual(l, s) |
| 162 | |
| 163 | def testVariantExtract(self): |
| 164 | """Use vtkVariantExtract""" |
| 165 | l = [1, '2', cedilla, 4.0, vtkObject()] |
| 166 | s = [vtkVariant(x) for x in l] |
| 167 | m = [vtkVariantExtract(x) for x in s] |
| 168 | self.assertEqual(l, m) |
| 169 | |
| 170 | def testHash(self): |
| 171 | """Use a variant as a dict key""" |
nothing calls this directly
no test coverage detected