[Zope3-checkins] CVS: Zope3/src/zope/testing - functional.py:1.16

Jim Fulton jim at zope.com
Mon Sep 22 16:30:17 EDT 2003


Update of /cvs-repository/Zope3/src/zope/testing
In directory cvs.zope.org:/tmp/cvs-serv11491

Modified Files:
	functional.py 
Log Message:
Added code to close test databases during tear down to avoid orphaned
threads and memory leaks.


=== Zope3/src/zope/testing/functional.py 1.15 => 1.16 ===
--- Zope3/src/zope/testing/functional.py:1.15	Sun Sep 21 13:31:16 2003
+++ Zope3/src/zope/testing/functional.py	Mon Sep 22 16:30:16 2003
@@ -117,6 +117,7 @@
         if self.connection:
             self.connection.close()
             self.connection = None
+        self.db.close()
 
     def getRootFolder(self):
         """Returns the Zope root folder."""




More information about the Zope3-Checkins mailing list