

def testFloat(self):
    v = registry.Float(1.0, 'help')
    self.assertEqual(v(), 1.0)
    v.setValue(10)
    v.assertEqual(v(), 10.0)
    v.set('0')
    self.assertEqual(v(), 0.0)

dataset/ETHPy150Open ProgVal/Limnoria/test/test_registry.py ValuesTestCase.testFloat/VarMisuse@39/45 `self`->`v`