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
1424b969
Commit
1424b969
authored
Mar 02, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use builtin type names
parent
5d3c1a06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/ZODB/tests/testCache.py
src/ZODB/tests/testCache.py
+3
-4
No files found.
src/ZODB/tests/testCache.py
View file @
1424b969
...
...
@@ -18,10 +18,9 @@ purposes. It acts like a memo for unpickling. It also keeps recent
objects in memory under the assumption that they may be used again.
"""
import
gc
import
time
import
types
import
unittest
import
gc
import
ZODB
import
ZODB.MappingStorage
...
...
@@ -81,8 +80,8 @@ class DBMethods(CacheTestBase):
def
checkCacheDetail
(
self
):
for
name
,
count
in
self
.
db
.
cacheDetail
():
self
.
assert_
(
isinstance
(
name
,
types
.
StringType
))
self
.
assert_
(
isinstance
(
count
,
types
.
IntType
))
self
.
assert_
(
isinstance
(
name
,
str
))
self
.
assert_
(
isinstance
(
count
,
int
))
def
checkCacheExtremeDetail
(
self
):
expected
=
[
'conn_no'
,
'id'
,
'oid'
,
'rc'
,
'klass'
,
'state'
]
...
...
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