def restore_autocommit(self):

        self.db1.conn.autocommit = self.old_autocommit[0]
        self.db2.conn.autocommit = self.old_autocommit[1]

        self.db1 = None
        self.db2 = None
Compare two record arrays
dataset/ETHPy150Open GeoscienceAustralia/agdc/src/tilecompare.py/TileComparisonPair.restore_autocommit--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_table.py/comparerecords