fix function name
This commit is contained in:
parent
1c336ede9f
commit
a0d0a9b56c
|
@ -47,7 +47,7 @@ class IdleMock:
|
|||
Returns True if event was set, False on timeout
|
||||
'''
|
||||
self._event.wait(IDLEMOCK_TIMEOUT)
|
||||
if self._event.is_set():
|
||||
if self._event.isSet():
|
||||
self._event.clear()
|
||||
return True
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue