def test_var10(self):
        self.top.oneout.ratio5 = '55555'
        try:
            self.top.connect('oneout.ratio5','oneinp.ratio2')  # Str to int
        except Exception, err:
            msg = "a value of 55555 <type 'str'> was specified"
            self.assertTrue( msg in str(err))
        else:
            self.fail('Exception Expected')
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/test/test_connect_var.py/VariableTestCase.test_var10/original