def test_default_value(self):
        try:
            self.hobj.add('out_of_bounds',
                                Float(5.0, low=3, high=4))
        except __HOLE__, err:
            self.assertEqual(str(err), 
                "Default value is outside of bounds [3.0, 4.0].")
        else:
            self.fail('ValueError expected')
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/datatypes/test/test_float.py/FloatTestCase.test_default_value