Fixed signature of theThread in test_lock.

This was bug introduced by merge r63352.
This commit is contained in:
Alexandre Vassalotti 2008-05-16 18:24:46 +00:00
parent bee325387b
commit 4b006de903
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class LockingTestCase(unittest.TestCase):
if db.version() >= (4,6): if db.version() >= (4,6):
self.assertTrue(deadlock_detection.count>0) self.assertTrue(deadlock_detection.count>0)
def theThread(self, lockType): def theThread(self, sleepTime, lockType):
name = currentThread().getName() name = currentThread().getName()
if lockType == db.DB_LOCK_WRITE: if lockType == db.DB_LOCK_WRITE:
lt = "write" lt = "write"