'test binding out with set input sizes defined'

def testBindOutSetInputSizes(self):

    vars = self.cursor.setinputsizes(value=cx_Oracle.INTERVAL)
    self.cursor.execute(u"\n                                                                begin\n                                                                        :value    :=    to_dsinterval('8    09:24:18.123789');\n                                                                end;")
    self.failUnlessEqual(vars['value'].getvalue(), datetime.timedelta(days=8, hours=9, minutes=24, seconds=18, microseconds=123789))
