[Zodb-checkins] SVN: ZODB/branches/jim-thready-zeo2/src/ZODB/DemoStorage.test Don't close storages until you're done using them. :)

Jim Fulton jim at zope.com
Thu Oct 1 16:54:57 EDT 2009


Log message for revision 104711:
  Don't close storages until you're done using them. :)
  

Changed:
  U   ZODB/branches/jim-thready-zeo2/src/ZODB/DemoStorage.test

-=-
Modified: ZODB/branches/jim-thready-zeo2/src/ZODB/DemoStorage.test
===================================================================
--- ZODB/branches/jim-thready-zeo2/src/ZODB/DemoStorage.test	2009-10-01 20:09:00 UTC (rev 104710)
+++ ZODB/branches/jim-thready-zeo2/src/ZODB/DemoStorage.test	2009-10-01 20:54:56 UTC (rev 104711)
@@ -337,9 +337,7 @@
     >>> storage.base.getName()
     'base.fs'
 
-    >>> storage.close()
 
-
 Generating OIDs
 ===============
 
@@ -393,3 +391,7 @@
 .. restore time
 
     >>> time.time = real_time_time
+
+.. clean up
+
+    >>> storage.close()



More information about the Zodb-checkins mailing list