mirror of
https://github.com/python/cpython.git
synced 2024-11-26 03:14:27 +08:00
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):
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user