diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-07-01 17:01:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 17:01:52 (GMT) |
commit | 466e18e8c2738b06a24915cb186d954821d0414f (patch) | |
tree | 437affb9152ed95d420127eb180a3b2baf3d22a3 /Lib/test/test_ssl.py | |
parent | 59ec9ee4d7f3c2444efb989e96f5124e1c246de5 (diff) | |
download | cpython-466e18e8c2738b06a24915cb186d954821d0414f.zip cpython-466e18e8c2738b06a24915cb186d954821d0414f.tar.gz cpython-466e18e8c2738b06a24915cb186d954821d0414f.tar.bz2 |
Remove unused imports in tests (GH-14518) (GH-14520)
(cherry picked from commit 8f4ef3b019ce380022018587571b0f970e668de3)
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 66369fe..1898990 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -26,7 +26,7 @@ except ImportError: ssl = support.import_module("ssl") -from ssl import TLSVersion, _TLSContentType, _TLSMessageType, _TLSAlertType +from ssl import TLSVersion, _TLSContentType, _TLSMessageType PROTOCOLS = sorted(ssl._PROTOCOL_NAMES) HOST = support.HOST @@ -4592,7 +4592,6 @@ class TestSSLDebug(unittest.TestCase): def test_main(verbose=False): if support.verbose: - import warnings plats = { 'Mac': platform.mac_ver, 'Windows': platform.win32_ver, |