SVN: ZODB/trunk/src/ZEO/tests/test_cache.py Fixed a bad hack to avoid spurious test failures due to time zone

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20100719150153.6B85B941BE__30289.3808148385$1279551719$gmane$org@cvs.zope.org>
Log message for revision 114852:
  Fixed a bad hack to avoid spurious test failures due to time zone
  differences.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/test_cache.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/test_cache.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/test_cache.py	2010-07-19 14:19:32 UTC (rev 114851)
+++ ZODB/trunk/src/ZEO/tests/test_cache.py	2010-07-19 15:01:53 UTC (rev 114852)
@@ -540,7 +540,7 @@
     >>> def ctime(t):
     ...     return time.asctime(time.gmtime(t-3600*4))
     >>> ZEO.scripts.cache_stats.ctime = ctime
-    >>> ZEO.scripts.cache_stats.simul = ctime
+    >>> ZEO.scripts.cache_simul.ctime = ctime
 
     ############################################################
     Stats
@@ -1022,7 +1022,7 @@
     >>> del os.environ["ZEO_CACHE_TRACE"]
     >>> time.time = timetime
     >>> ZEO.scripts.cache_stats.ctime = time.ctime
-    >>> ZEO.scripts.cache_stats.simul = time.ctime
+    >>> ZEO.scripts.cache_simul.ctime = time.ctime
 
 """
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.