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

Tim Peters tim.one at comcast.net
Fri Apr 2 14:31:34 EST 2004


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

Modified Files:
	testTransaction.py 
Log Message:
testExceptionInTpcAbort:  reformat so I can insert debugging prints
(something's not right in this test).


=== Zope3/src/ZODB/tests/testTransaction.py 1.20 => 1.21 ===
--- Zope3/src/ZODB/tests/testTransaction.py:1.20	Wed Mar 31 22:56:57 2004
+++ Zope3/src/ZODB/tests/testTransaction.py	Fri Apr  2 14:31:32 2004
@@ -378,7 +378,6 @@
         assert self.sub1._p_jar.ctpc_abort == 1
 
     def testExceptionInTpcAbort(self):
-
         self.sub1._p_jar = SubTransactionJar(
                                 errors=('tpc_abort', 'tpc_vote'))
 
@@ -387,7 +386,8 @@
 
         try:
             get_transaction().commit()
-        except TestTxnException: pass
+        except TestTxnException:
+            pass
 
         assert self.nosub1._p_jar.ctpc_abort == 1
 




More information about the Zope3-Checkins mailing list