SVN: ZODB/trunk/src/ZODB/tests/testblob.py Close handlers created in tests. Unclosed handlers leak in some

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <[email protected]>
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()
     """
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.