Commit 522a142d authored by Julien Muchembled's avatar Julien Muchembled

client: remove unused Storage.cleanup

parent 358da254
...@@ -191,11 +191,6 @@ class Storage(BaseStorage.BaseStorage, ...@@ -191,11 +191,6 @@ class Storage(BaseStorage.BaseStorage,
# seems used only by FileStorage # seems used only by FileStorage
raise NotImplementedError raise NotImplementedError
def cleanup(self):
# Used in unit tests to remove local database files.
# We have no such thing, so make this method a no-op.
pass
def close(self): def close(self):
# WARNING: This does not handle the case where an app is shared by # WARNING: This does not handle the case where an app is shared by
# several Storage instances, but this is something that only # several Storage instances, but this is something that only
......
...@@ -23,7 +23,6 @@ from ConfigParser import SafeConfigParser ...@@ -23,7 +23,6 @@ from ConfigParser import SafeConfigParser
from contextlib import contextmanager from contextlib import contextmanager
from itertools import count from itertools import count
from functools import partial, wraps from functools import partial, wraps
from thread import get_ident
from zlib import decompress from zlib import decompress
from ..mock import Mock from ..mock import Mock
import transaction, ZODB import transaction, ZODB
......
...@@ -42,7 +42,6 @@ class ZODBTestCase(TestCase): ...@@ -42,7 +42,6 @@ class ZODBTestCase(TestCase):
self.open() self.open()
def _tearDown(self, success): def _tearDown(self, success):
self._storage.cleanup()
try: try:
if functional: if functional:
self.neo.stop() self.neo.stop()
......
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