def test_var4(self):
        self.top.oneout.ratio1 = 12.0
        try:
            self.top.connect('oneout.ratio1','oneinp.ratio2')  # float to int
            self.top._setup()
        except Exception, err:
            msg = "but a value of 12.0 <type 'float'> was specified"
            self.assertTrue( str(err) in msg)
        else:
            self.fail('Exception Expected')
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/test/test_connect_var.py/VariableTestCase.test_var4/swapped operands of `in`