[Zope3-checkins] CVS: Zope3/src/ZODB/tests - testTransaction.py:1.22

Tim Peters tim.one at comcast.net
Fri Apr 2 14:48:53 EST 2004


Update of /cvs-repository/Zope3/src/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv23772/src/ZODB/tests

Modified Files:
	testTransaction.py 
Log Message:
Added XXX comments about stray output produced by
testExceptionInTpcAbort().  The cause is clear now, but a solution isn't;
an exception in tpc_abort is nasty.


=== Zope3/src/ZODB/tests/testTransaction.py 1.21 => 1.22 ===
--- Zope3/src/ZODB/tests/testTransaction.py:1.21	Fri Apr  2 14:31:32 2004
+++ Zope3/src/ZODB/tests/testTransaction.py	Fri Apr  2 14:48:22 2004
@@ -385,6 +385,9 @@
         self.sub1.modify(nojar=1)
 
         try:
+            # XXX Transaction._cleanup() prints a stray "error tpc_abort"
+            # XXX (the string value of the TestTxnException instance raised)
+            # XXX to stdout.
             get_transaction().commit()
         except TestTxnException:
             pass




More information about the Zope3-Checkins mailing list