[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/wait.txt Time is less granular on windows. :(

Jim Fulton jim at zope.com
Wed Feb 1 23:06:16 UTC 2012


Log message for revision 124278:
  Time is less granular on windows. :(
  

Changed:
  U   zope.testing/trunk/src/zope/testing/wait.txt

-=-
Modified: zope.testing/trunk/src/zope/testing/wait.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/wait.txt	2012-02-01 18:16:49 UTC (rev 124277)
+++ zope.testing/trunk/src/zope/testing/wait.txt	2012-02-01 23:06:15 UTC (rev 124278)
@@ -127,7 +127,7 @@
 
     >>> wait = zope.testing.wait.Wait(
     ...    getnow=(lambda : mynow), getsleep=(lambda : mysleep),
-    ...    exception=ValueError, timeout=.02, wait=.0001)
+    ...    exception=ValueError, timeout=.1, wait=.02)
 
     >>> @wait
     ... def _(state=[]):
@@ -135,9 +135,9 @@
     ...        return True
     ...     state.append(0)
     mynow
-    mysleep 0.0001
+    mysleep 0.02
     mynow
-    mysleep 0.0001
+    mysleep 0.02
 
     >>> @wait(wait=.002)
     ... def _(state=[]):



More information about the Zope3-Checkins mailing list