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
354ad10a
Commit
354ad10a
authored
Mar 02, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use builtin type names
parent
082e133e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
trunk/src/ZODB/tests/testCache.py
trunk/src/ZODB/tests/testCache.py
+3
-4
No files found.
trunk/src/ZODB/tests/testCache.py
View file @
354ad10a
...
...
@@ -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