Commit 7614cce3 authored by Tim Peters's avatar Tim Peters

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).
......@@ -344,18 +344,6 @@ ReadConflictError: database read conflict error (oid 0x02, class ZODB.tests.MinP
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment