def test_asfloat_default(self):
        dset = dictset({'foo': '1.0'})
        assert dset.asfloat('foo1', default=2.0) == 2.0
        assert 'foo1' not in dset
dataset/ETHPy150Open ramses-tech/nefertari/tests/test_utils/test_dictset.py/TestDictset.test_asfloat_default/original