'test binding in an interval'

def testBindInterval(self):

    self.cursor.setinputsizes(value=cx_Oracle.INTERVAL)
    self.cursor.execute('\n                                                                select    *    from    TestIntervals\n                                                                where    IntervalCol    =    :value', value=datetime.timedelta(days=5, hours=5, minutes=10, seconds=15))
    self.failUnlessEqual(self.cursor.fetchall(), [self.dataByKey[5]])
