diff --git a/speedtest.py b/speedtest.py index 23c7ad5..c5cd261 100755 --- a/speedtest.py +++ b/speedtest.py @@ -203,11 +203,6 @@ else: del builtins # Exception "constants" to support Python 2 through Python 3 -try: - BROKEN_PIPE_ERROR = (BrokenPipeError,) -except NameError: - BROKEN_PIPE_ERROR = (IOError,) - try: import ssl HTTP_ERRORS = (HTTPError, URLError, socket.error, ssl.SSLError)