'test batcherrors mode set to False'

def testBatchErrorFalse(self):

    self.cursor.execute('truncate    table    TestArrayDML')
    rows = [(1, 'First', 100), (2, 'Second', 200), (2, 'Third', 300)]
    sql = 'insert    into    TestArrayDML    (IntCol,    StringCol,    IntCol2)    values    (:1,    :2,    :3)'
    self.failUnlessRaises(cx_Oracle.IntegrityError, self.cursor.executemany, sql, rows, batcherrors=False)
