'test binding in/out with set input sizes defined'

def testBindInOutSetInputSizes(self):

    vars = self.cursor.setinputsizes(value=cx_Oracle.INTERVAL)
    self.cursor.execute("\n                                                                begin\n                                                                        :value    :=    :value    +    to_dsinterval('5    08:30:00');\n                                                                end;", value=datetime.timedelta(days=5, hours=2, minutes=15))
    self.failUnlessEqual(vars['value'].getvalue(), datetime.timedelta(days=10, hours=10, minutes=45))
