mirror of https://github.com/python/cpython
Fixed signature of theThread in test_lock.
This was bug introduced by merge r63352.
This commit is contained in:
parent
bee325387b
commit
4b006de903
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue