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
|
Returns True if event was set, False on timeout
|
||||||
'''
|
'''
|
||||||
self._event.wait(IDLEMOCK_TIMEOUT)
|
self._event.wait(IDLEMOCK_TIMEOUT)
|
||||||
if self._event.is_set():
|
if self._event.isSet():
|
||||||
self._event.clear()
|
self._event.clear()
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue