From 537c5aeda0450b24216066fc3a442ed9ca2b6e27 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 7 Mar 2016 17:03:39 -0600 Subject: [PATCH] Remove unneeded imports --- speedtest.py | 5 ----- 1 file changed, 5 deletions(-) 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)