Use contextlib.closing for dump, comparison, and restore connections so Windows can unlink the live database immediately after the comparison step.
Use contextlib.closing for dump, comparison, and restore connections so Windows can unlink the live database immediately after the comparison step.