[Checkins] SVN: zc.ngi/trunk/src/zc/ngi/blocking.txt Fixed some overly restrictive range checks that caused failures with

Jim Fulton jim at zope.com
Tue Apr 14 11:08:18 EDT 2009


Log message for revision 99169:
  Fixed some overly restrictive range checks that caused failures with
  window's less precise clock.
  

Changed:
  U   zc.ngi/trunk/src/zc/ngi/blocking.txt

-=-
Modified: zc.ngi/trunk/src/zc/ngi/blocking.txt
===================================================================
--- zc.ngi/trunk/src/zc/ngi/blocking.txt	2009-04-14 15:07:02 UTC (rev 99168)
+++ zc.ngi/trunk/src/zc/ngi/blocking.txt	2009-04-14 15:08:18 UTC (rev 99169)
@@ -88,7 +88,7 @@
     ...
     Timeout
 
-    >>> 0.5 < (time.time() - then) < 1
+    >>> 0.5 <= (time.time() - then) < 1
     True
 
 The readline and readlines functions accept a timeout as well:
@@ -99,7 +99,7 @@
     ...
     Timeout
 
-    >>> 0.5 < (time.time() - then) < 1
+    >>> 0.5 <= (time.time() - then) < 1
     True
 
     >>> then = time.time()
@@ -108,7 +108,7 @@
     ...
     Timeout
 
-    >>> 0.5 < (time.time() - then) < 1
+    >>> 0.5 <= (time.time() - then) < 1
     True
 
 Timeouts can also be specified when connecting. To illustrate this,
@@ -120,7 +120,7 @@
     ...
     ConnectionTimeout
 
-    >>> 0.5 < (time.time() - then) < 1
+    >>> 0.5 <= (time.time() - then) < 1
     True
 
 Low-level connection management
@@ -152,5 +152,5 @@
     ...
     ConnectionTimeout
 
-    >>> 0.5 < (time.time() - then) < 1
+    >>> 0.5 <= (time.time() - then) < 1
     True



More information about the Checkins mailing list