[Zope3-checkins] CVS: Zope3/src/ZODB/tests - testmvcc.py:1.4

Jeremy Hylton jeremy at zope.com
Thu Mar 11 22:12:56 EST 2004


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

Modified Files:
	testmvcc.py 
Log Message:
Avoid leaving cyclic trash around.


=== Zope3/src/ZODB/tests/testmvcc.py 1.3 => 1.4 ===
--- Zope3/src/ZODB/tests/testmvcc.py:1.3	Thu Mar 11 22:00:55 2004
+++ Zope3/src/ZODB/tests/testmvcc.py	Thu Mar 11 22:12:55 2004
@@ -224,6 +224,10 @@
 >>> r1["b"]._p_state
 -1
 
+>>> cn1._transaction = None
+
+(See the Cleanup section below.)
+
 Late invalidation
 -----------------
 
@@ -301,7 +305,6 @@
 which prevents the cycle from being collected.  There's no API for
 clearing the Connection's local transaction.
 
->>> cn._transaction = None
 >>> cn1._transaction = None
 >>> cn2._transaction = None
 




More information about the Zope3-Checkins mailing list