[Zodb-checkins]
SVN: ZODB/branches/3.3/src/transaction/tests/test_register_compat.py
The next iteration of ZODB 3.3 doesn't implicitly begin a new
Tim Peters
tim.one at comcast.net
Tue Sep 14 14:11:32 EDT 2004
Log message for revision 27524:
The next iteration of ZODB 3.3 doesn't implicitly begin a new
transaction when a commit() fails. One test here provoked a
failing commit(), which caused a later test to fail. Repaired
by simply abort()'ing the failed transaction.
Changed:
U ZODB/branches/3.3/src/transaction/tests/test_register_compat.py
-=-
Modified: ZODB/branches/3.3/src/transaction/tests/test_register_compat.py
===================================================================
--- ZODB/branches/3.3/src/transaction/tests/test_register_compat.py 2004-09-14 17:50:53 UTC (rev 27523)
+++ ZODB/branches/3.3/src/transaction/tests/test_register_compat.py 2004-09-14 18:11:30 UTC (rev 27524)
@@ -85,6 +85,10 @@
1
>>> len(cn.aborted)
3
+
+Clean up:
+
+>>> transaction.abort()
"""
import transaction
More information about the Zodb-checkins
mailing list