document FakeShutdownEvent

This commit is contained in:
Matt Martz 2014-03-10 11:41:07 -05:00
parent f009711526
commit 5ec8fa590d
1 changed files with 6 additions and 0 deletions

View File

@ -21,8 +21,14 @@ USER_AGENT = 'speedtest-cli/%s' % __version__
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
def isSet():
"Dummy method to always return false"""
return False