mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Remove unused imports in tests (GH-14518)
This commit is contained in:
parent
f9b7457bd7
commit
8f4ef3b019
53 changed files with 31 additions and 84 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue