'test binding in/out with cursor.var() method'

def testBindInOutVarDirectSet(self):

    var = self.cursor.var(cx_Oracle.NUMBER)
    var.setvalue(0, 2.25)
    self.cursor.execute('\n                                                                begin\n                                                                        :value    :=    :value    +    5;\n                                                                end;', value=var)
    self.failUnlessEqual(var.getvalue(), 7.25)
