mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove unused imports.
This commit is contained in:
parent
f3bb0e1e1d
commit
7ce90373a8
@ -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
|
||||
|
||||
|
||||
@ -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):
|
||||
|
||||
@ -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
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
|
||||
import t
|
||||
|
||||
import functools
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user