add back SpeedtestBestServerFailer exception

This commit is contained in:
Alex Ward 2018-06-25 20:04:55 +01:00
parent 5a42d39b39
commit 9ad390ed28
1 changed files with 4 additions and 0 deletions

View File

@ -341,6 +341,10 @@ class SpeedtestBestServerFailure(SpeedtestException):
"""Unable to determine best server"""
class SpeedtestMissingBestServer(SpeedtestException):
"""get_best_server not called or not able to determine best server"""
def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
source_address=None):
"""Connect to *address* and return the socket object.