[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/testmvcc.py Merge rev 30818 from 3.4 branch.

Tim Peters tim.one at comcast.net
Thu Jun 16 16:33:10 EDT 2005


Log message for revision 30819:
  Merge rev 30818 from 3.4 branch.
  
  Remove needless "cleanup" code -- Transaction does not have
  a __del__ method (but probably did at some earlier time).
  

Changed:
  U   ZODB/trunk/src/ZODB/tests/testmvcc.py

-=-
Modified: ZODB/trunk/src/ZODB/tests/testmvcc.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/testmvcc.py	2005-06-16 20:32:14 UTC (rev 30818)
+++ ZODB/trunk/src/ZODB/tests/testmvcc.py	2005-06-16 20:33:10 UTC (rev 30819)
@@ -344,18 +344,6 @@
 True
 >>> ts.count
 1
-
-Cleanup
--------
-
-The setLocalTransaction() feature creates cyclic trash involving the
-Connection and Transaction.  The Transaction has an __del__ method,
-which prevents the cycle from being collected.  There's no API for
-clearing the Connection's local transaction.
-
->>> cn1._transaction = None
->>> cn2._transaction = None
-
 """
 
 from zope.testing import doctest



More information about the Zodb-checkins mailing list