[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/testblob.py Close handlers created in tests. Unclosed handlers leak in some
Jim Fulton
jim at zope.com
Thu Sep 2 17:30:20 EDT 2010
Log message for revision 116168:
Close handlers created in tests. Unclosed handlers leak in some
versions of Python. We don't want spurious leaks when checking for
ZODB leaks.
Changed:
U ZODB/trunk/src/ZODB/tests/testblob.py
-=-
Modified: ZODB/trunk/src/ZODB/tests/testblob.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/testblob.py 2010-09-02 20:45:35 UTC (rev 116167)
+++ ZODB/trunk/src/ZODB/tests/testblob.py 2010-09-02 21:30:20 UTC (rev 116168)
@@ -348,6 +348,7 @@
>>> logger.propagate = True
>>> logger.setLevel(0)
>>> logger.removeHandler(handler)
+ >>> handler.close()
>>> database.close()
"""
More information about the Zodb-checkins
mailing list