SVN: ZODB/branches/3.9/src/ZEO/tests/test_cache.py Use print to display tell output to avoid unimportant differences
Jim Fulton <[email protected]> Mon, 20 Sep 2010 14:35:00 -0400 (EDT)
| Newsgroups | gmane.comp.python.zope.zodb.cvs |
|---|---|
| Message-ID | <[email protected]> |
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()