Add kwarg check_pending argument to fake lock
To ensure we retain the same API for the fake lock class make sure we have the is_writer function take in the same kwarg as the base class. Change-Id: Id39deeb8cc944dad05a36bd48993f11f2f11118e
This commit is contained in:
committed by
Thomas Goirand
parent
8bffe5bdce
commit
b93757ec38
@@ -262,7 +262,7 @@ class DummyReaderWriterLock(_ReaderWriterLockBase):
|
||||
def is_reader(self):
|
||||
return False
|
||||
|
||||
def is_writer(self):
|
||||
def is_writer(self, check_pending=True):
|
||||
return False
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user