Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
ab320e98
Commit
ab320e98
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
1598a271
Changes
1
Show 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 @
ab320e98
...
@@ -1058,7 +1058,7 @@ An attempt to open a bad cache file will cause it to be dropped and recreated.
...
@@ -1058,7 +1058,7 @@ An attempt to open a bad cache file will cause it to be dropped and recreated.
>>> cache.close()
>>> cache.close()
>>> f = open('cache')
>>> f = open('cache')
>>> f.seek(0, 2)
>>> f.seek(0, 2)
>>> f.tell()
>>>
print
f.tell()
1000
1000
>>> f.close()
>>> f.close()
...
@@ -1073,13 +1073,13 @@ An attempt to open a bad cache file will cause it to be dropped and recreated.
...
@@ -1073,13 +1073,13 @@ An attempt to open a bad cache file will cause it to be dropped and recreated.
>>> cache.close()
>>> cache.close()
>>> f = open('cache')
>>> f = open('cache')
>>> f.seek(0, 2)
>>> f.seek(0, 2)
>>> f.tell()
>>>
print
f.tell()
1000
1000
>>> f.close()
>>> f.close()
>>> f = open('cache.bad')
>>> f = open('cache.bad')
>>> f.seek(0, 2)
>>> f.seek(0, 2)
>>> f.tell()
>>>
print
f.tell()
100
100
>>> f.close()
>>> 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