[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/test_cache.py Use print to display tell output to avoid unimportant differences
Jim Fulton
jim at zope.com
Mon Jul 12 18:01:10 EDT 2010
Log message for revision 114661:
Use print to display tell output to avoid unimportant differences
between logs and ints.
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-12 19:42:28 UTC (rev 114660)
+++ ZODB/trunk/src/ZEO/tests/test_cache.py 2010-07-12 22:01:10 UTC (rev 114661)
@@ -1058,7 +1058,7 @@
>>> cache.close()
>>> f = open('cache')
>>> f.seek(0, 2)
- >>> f.tell()
+ >>> print f.tell()
1000
>>> f.close()
@@ -1073,13 +1073,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