[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/invalidations_while_connecting.test Fixed an import error that only seemed to cause a problem on Windows. :/

Jim Fulton jim at zope.com
Wed Sep 17 16:35:44 EDT 2008


Log message for revision 91214:
  Fixed an import error that only seemed to cause a problem on Windows. :/
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/invalidations_while_connecting.test

-=-
Modified: ZODB/trunk/src/ZEO/tests/invalidations_while_connecting.test
===================================================================
--- ZODB/trunk/src/ZEO/tests/invalidations_while_connecting.test	2008-09-17 19:53:17 UTC (rev 91213)
+++ ZODB/trunk/src/ZEO/tests/invalidations_while_connecting.test	2008-09-17 20:35:43 UTC (rev 91214)
@@ -38,7 +38,7 @@
 - starting a second client that writes objects more or less
   constantly,
 
-    >>> import random, threading
+    >>> import random, threading, time
     >>> stop = False
     >>> db2 = ZODB.DB(ZEO.ClientStorage.ClientStorage(addr))
     >>> tm = transaction.TransactionManager()
@@ -67,7 +67,6 @@
     >>> handler = zope.testing.loggingsupport.InstalledHandler(
     ...    'ZEO', level=logging.ERROR)
 
-    >>> import time
     >>> for c in range(10):
     ...    time.sleep(.1)
     ...    db = ZODB.DB(ZEO.ClientStorage.ClientStorage(addr, client='x'))



More information about the Zodb-checkins mailing list