'test binding in a null'

def testBindNull(self):

    self.cursor.setinputsizes(value=cx_Oracle.INTERVAL)
    self.cursor.execute('\n                                                                select    *    from    TestIntervals\n                                                                where    IntervalCol    =    :value', value=None)
    self.failUnlessEqual(self.cursor.fetchall(), [])
