]> granicus.if.org Git - python/commitdiff
Fixed signature of theThread in test_lock.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 16 May 2008 18:24:46 +0000 (18:24 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 16 May 2008 18:24:46 +0000 (18:24 +0000)
This was bug introduced by merge r63352.

Lib/bsddb/test/test_lock.py

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