[Zodb-checkins] SVN: ZODB/branches/3.9/src/ZEO/tests/test_cache.py Use print to display tell output to avoid unimportant differences

Jim Fulton jim at zope.com
Mon Sep 20 14:35:00 EDT 2010


Log message for revision 116676:
  Use print to display tell output to avoid unimportant differences
  between logs and ints.
  

Changed:
  U   ZODB/branches/3.9/src/ZEO/tests/test_cache.py

-=-
Modified: ZODB/branches/3.9/src/ZEO/tests/test_cache.py
===================================================================
--- ZODB/branches/3.9/src/ZEO/tests/test_cache.py	2010-09-20 18:16:35 UTC (rev 116675)
+++ ZODB/branches/3.9/src/ZEO/tests/test_cache.py	2010-09-20 18:35:00 UTC (rev 116676)
@@ -533,7 +533,7 @@
     >>> cache.close()
     >>> f = open('cache')
     >>> f.seek(0, 2)
-    >>> f.tell()
+    >>> print f.tell()
     1000
     >>> f.close()
 
@@ -548,13 +548,13 @@
     >>> cache.close()
     >>> f = open('cache')
     >>> f.seek(0, 2)
-    >>> f.tell()
+    >>> print f.tell()
     1000
     >>> f.close()
 
     >>> f = open('cache.bad')
     >>> f.seek(0, 2)
-    >>> f.tell()
+    >>> print f.tell()
     100
     >>> f.close()
 



More information about the Zodb-checkins mailing list