summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_conn.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-02-06 08:00:20 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-02-06 08:00:20 -0500
commita0efe691a224ba4b83edfd1dcf6224508a2f2bab (patch)
tree4b8e1f88334b522d520652cd04229d51a7e97cc4 /cherrypy/test/test_conn.py
parentcbf2c56d2b48cf2a24a88b2529c70d676f98dc0d (diff)
downloadcherrypy-git-a0efe691a224ba4b83edfd1dcf6224508a2f2bab.tar.gz
Move import to top
Diffstat (limited to 'cherrypy/test/test_conn.py')
-rw-r--r--cherrypy/test/test_conn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/test_conn.py b/cherrypy/test/test_conn.py
index f602a77b..a2952943 100644
--- a/cherrypy/test/test_conn.py
+++ b/cherrypy/test/test_conn.py
@@ -3,6 +3,7 @@
import socket
import sys
import time
+import errno
import cherrypy
@@ -750,7 +751,6 @@ def setup_upload_server():
'server.accepted_queue_timeout': 0.1,
})
-import errno
socket_reset_errors = []
# Not all of these names will be defined for every platform.
for _ in ("ECONNRESET", "WSAECONNRESET"):