[Zodb-checkins] CVS: ZODB3/ZODB/tests - MTStorage.py:1.14
Tim Peters
tim.one at comcast.net
Fri Jan 9 14:50:13 EST 2004
Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv30362/ZODB/tests
Modified Files:
MTStorage.py
Log Message:
Removed decoys (unused method and instance vars) from class TestThread.
=== ZODB3/ZODB/tests/MTStorage.py 1.13 => 1.14 ===
--- ZODB3/ZODB/tests/MTStorage.py:1.13 Wed Dec 24 11:01:58 2003
+++ ZODB3/ZODB/tests/MTStorage.py Fri Jan 9 14:50:12 2004
@@ -30,10 +30,8 @@
method.
"""
- def __init__(self, test):
+ def __init__(self):
threading.Thread.__init__(self)
- self.test = test
- self._fail = None
self._exc_info = None
def run(self):
@@ -42,9 +40,6 @@
except:
self._exc_info = sys.exc_info()
- def fail(self, msg=""):
- self._test.fail(msg)
-
def join(self, timeout=None):
threading.Thread.join(self, timeout)
if self._exc_info:
@@ -55,7 +50,7 @@
__super_init = TestThread.__init__
def __init__(self, db, test, commits=10, delay=SHORT_DELAY):
- self.__super_init(test)
+ self.__super_init()
self.setDaemon(1)
self.db = db
self.test = test
@@ -102,7 +97,7 @@
__super_init = TestThread.__init__
def __init__(self, storage, test, commits=10, delay=SHORT_DELAY):
- self.__super_init(test)
+ self.__super_init()
self.storage = storage
self.test = test
self.commits = commits
More information about the Zodb-checkins
mailing list