Commit 3d6e7bdf authored by dieter's avatar dieter

fix tests

parent 179530d5
......@@ -9,7 +9,7 @@ from zope.testing import setupstack
from concurrent.futures import Future
import mock
from ZODB.POSException import ReadOnlyError
from ZODB.utils import maxtid
from ZODB.utils import maxtid, RLock
import collections
import logging
......@@ -699,6 +699,7 @@ class MemoryCache(object):
# { oid -> [(start, end, data)] }
self.data = collections.defaultdict(list)
self.last_tid = None
self._lock = RLock()
clear = __init__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment