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

Jim Fulton jim at zope.com
Mon Jul 19 11:01:53 EDT 2010


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
 
 """
 



More information about the Zodb-checkins mailing list