Remove unused imports.

This commit is contained in:
Berker Peksag 2014-11-30 09:07:10 +02:00
parent f3bb0e1e1d
commit 7ce90373a8
7 changed files with 4 additions and 13 deletions

View File

@ -4,7 +4,6 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
import array
import os
import tempfile

View File

@ -3,14 +3,12 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
import t
import treq
import glob
import os
dirname = os.path.dirname(__file__)
from py.test import skip
reqdir = os.path.join(dirname, "requests", "valid")
def a_case(fname):

View File

@ -3,7 +3,6 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
import t
import treq
import glob

View File

@ -5,7 +5,6 @@
import t
import functools
import os
import sys

View File

@ -5,16 +5,14 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
# stdlib
import inspect
import ssl
import sys
from unittest import TestCase
# gunicorn
from gunicorn.config import KeyFile, CertFile, SSLVersion, CACerts, \
SuppressRaggedEOFs, DoHandshakeOnConnect, Setting, validate_bool, validate_string, \
validate_pos_int
from gunicorn.config import (
KeyFile, CertFile, SSLVersion, CACerts, SuppressRaggedEOFs,
DoHandshakeOnConnect, Setting,
)
if sys.version_info >= (2, 7):
from gunicorn.config import Ciphers

View File

@ -1,7 +1,6 @@
# The following code adapted from CPython (see Lib/test/test_selectors.py)
import errno
import os
import random
import signal
import socket

View File

@ -11,7 +11,6 @@ import random
from gunicorn._compat import execfile_
from gunicorn.config import Config
from gunicorn.http.errors import ParseException
from gunicorn.http.parser import RequestParser
from gunicorn.six.moves.urllib.parse import urlparse
from gunicorn import six