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. # This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information. # See the NOTICE for more information.
import array
import os import os
import tempfile import tempfile

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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