'INSERT OR REPLACE and REPLACE INTO should produce the same behavior.'

def CheckLastRowIDOnReplace(self):

    sql = '{}    INTO    test(id,    unique_test)    VALUES    (?,    ?)'
    for statement in ('INSERT    OR    REPLACE', 'REPLACE'):
        with self.subTest(statement=statement):
            self.cu.execute(sql.format(statement), (1, 'foo'))
            self.assertEqual(self.cu.lastrowid, 1)
