def testBindInOutVarDirectSet(self):
        var = self.cursor.var(cx_Oracle.TIMESTAMP)
        var.setvalue(0, cx_Oracle.Timestamp(2002, 12, 9, 6, 0, 0))
        self.cursor.execute("""
                begin
                  :p_Value := :p_Value + 5.25;
                end;""",
                p_Value = var)
        self.failUnlessEqual(var.getvalue(),
                cx_Oracle.Timestamp(2002, 12, 14, 12, 0, 0))
test binding in/out with cursor.var() method
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cx_Oracle-5.1.2/test/TimestampVar.py/TestTimestampVar.testBindInOutVarDirectSet