Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
cde0f528
Commit
cde0f528
authored
Jul 12, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use print to display tell output to avoid unimportant differences
between logs and ints.
parent
daa447ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZEO/tests/test_cache.py
src/ZEO/tests/test_cache.py
+3
-3
No files found.
src/ZEO/tests/test_cache.py
View file @
cde0f528
...
...
@@ -1058,7 +1058,7 @@ An attempt to open a bad cache file will cause it to be dropped and recreated.
>>> cache.close()
>>> f = open('cache')
>>> f.seek(0, 2)
>>> f.tell()
>>>
print
f.tell()
1000
>>> f.close()
...
...
@@ -1073,13 +1073,13 @@ An attempt to open a bad cache file will cause it to be dropped and recreated.
>>> 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()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment