[Zodb-checkins] SVN: ZODB/branches/3.4/src/ZODB/tests/testmvcc.py Remove needless "cleanup" code -- Transaction does not have

Tim Peters tim.one at comcast.net
Thu Jun 16 16:32:14 EDT 2005


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

Changed:
  U   ZODB/branches/3.4/src/ZODB/tests/testmvcc.py

-=-
Modified: ZODB/branches/3.4/src/ZODB/tests/testmvcc.py
===================================================================
--- ZODB/branches/3.4/src/ZODB/tests/testmvcc.py	2005-06-16 20:27:33 UTC (rev 30817)
+++ ZODB/branches/3.4/src/ZODB/tests/testmvcc.py	2005-06-16 20:32:14 UTC (rev 30818)
@@ -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