mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-10-20 21:39:17 +02:00
document FakeShutdownEvent
This commit is contained in:
@@ -21,8 +21,14 @@ USER_AGENT = 'speedtest-cli/%s' % __version__
|
|||||||
|
|
||||||
|
|
||||||
class FakeShutdownEvent(object):
|
class FakeShutdownEvent(object):
|
||||||
|
"""Class to fake a threading.Event.isSet so that users of this module
|
||||||
|
are not required to register their own threading.Event()
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def isSet():
|
def isSet():
|
||||||
|
"Dummy method to always return false"""
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user