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

Jim Fulton jim at zope.com
Wed Sep 17 15:53:18 EDT 2008


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

Changed:
  U   ZODB/branches/3.8/src/ZEO/tests/invalidations_while_connecting.test

-=-
Modified: ZODB/branches/3.8/src/ZEO/tests/invalidations_while_connecting.test
===================================================================
--- ZODB/branches/3.8/src/ZEO/tests/invalidations_while_connecting.test	2008-09-17 18:18:27 UTC (rev 91212)
+++ ZODB/branches/3.8/src/ZEO/tests/invalidations_while_connecting.test	2008-09-17 19:53:17 UTC (rev 91213)
@@ -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