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
3d6e7bdf
Commit
3d6e7bdf
authored
Apr 23, 2021
by
dieter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
179530d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZEO/asyncio/tests.py
src/ZEO/asyncio/tests.py
+2
-1
No files found.
src/ZEO/asyncio/tests.py
View file @
3d6e7bdf
...
@@ -9,7 +9,7 @@ from zope.testing import setupstack
...
@@ -9,7 +9,7 @@ from zope.testing import setupstack
from
concurrent.futures
import
Future
from
concurrent.futures
import
Future
import
mock
import
mock
from
ZODB.POSException
import
ReadOnlyError
from
ZODB.POSException
import
ReadOnlyError
from
ZODB.utils
import
maxtid
from
ZODB.utils
import
maxtid
,
RLock
import
collections
import
collections
import
logging
import
logging
...
@@ -699,6 +699,7 @@ class MemoryCache(object):
...
@@ -699,6 +699,7 @@ class MemoryCache(object):
# { oid -> [(start, end, data)] }
# { oid -> [(start, end, data)] }
self
.
data
=
collections
.
defaultdict
(
list
)
self
.
data
=
collections
.
defaultdict
(
list
)
self
.
last_tid
=
None
self
.
last_tid
=
None
self
.
_lock
=
RLock
()
clear
=
__init__
clear
=
__init__
...
...
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