'test binding in a timestamp'

def testBindTimestamp(self):

    self.cursor.setinputsizes(value=cx_Oracle.TIMESTAMP)
    self.cursor.execute(u'\n                                                                select    *    from    TestTimestamps\n                                                                where    TimestampCol    =    :value', value=cx_Oracle.Timestamp(2002, 12, 14, 0, 0, 10, 250000))
    self.failUnlessEqual(self.cursor.fetchall(), [self.dataByKey[5]])
