'test batcherrors mode set to False'

def testBatchErrorFalse(self):

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