Commit 79d0a117 authored by Guido van Rossum's avatar Guido van Rossum

Don't use apply(), use f(foo, *args, *kwargs).

parent 3cd508c3
......@@ -32,12 +32,8 @@ class FileStorageTests(
):
def open(self, **kwargs):
if kwargs:
self._storage = apply(ZODB.FileStorage.FileStorage,
('FileStorageTests.fs',), kwargs)
else:
self._storage = ZODB.FileStorage.FileStorage(
'FileStorageTests.fs', **kwargs)
self._storage = ZODB.FileStorage.FileStorage('FileStorageTests.fs',
**kwargs)
def setUp(self):
self.open(create=1)
......
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