Remove unused imports in tests (GH-14518)

This commit is contained in:
Victor Stinner 2019-07-01 18:28:25 +02:00 committed by GitHub
parent f9b7457bd7
commit 8f4ef3b019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 31 additions and 84 deletions

View file

@ -26,7 +26,7 @@ except ImportError:
ssl = support.import_module("ssl")
from ssl import TLSVersion, _TLSContentType, _TLSMessageType, _TLSAlertType
from ssl import TLSVersion, _TLSContentType, _TLSMessageType
Py_DEBUG = hasattr(sys, 'gettotalrefcount')
Py_DEBUG_WIN32 = Py_DEBUG and sys.platform == 'win32'
@ -4601,7 +4601,6 @@ class TestSSLDebug(unittest.TestCase):
def test_main(verbose=False):
if support.verbose:
import warnings
plats = {
'Mac': platform.mac_ver,
'Windows': platform.win32_ver,