On 01/10/2012 12:05 PM, Roy Smith wrote:
Somewhat more seriously, let's say you wanted to do test queries against a database with 100 million records in it. You could rebuild the database from scratch for each test, but doing so might take hours per test. Sometimes, real life is just*so* inconvenient.
All serious database has rollback feature when they're available to quickly revert database state in the setUp/cleanUp phase.
-- http://mail.python.org/mailman/listinfo/python-list