From: Benjamin Peterson Date: Mon, 15 Dec 2014 15:04:13 +0000 (-0500) Subject: remove extra ssl imports (closes #23053) X-Git-Tag: v2.7.10rc1~262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3004b409938fe2e1bed4a25a43f36442865a7265;p=python remove extra ssl imports (closes #23053) Patch from Jan Matejek. --- diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py index a24a077b2c..bb82b26db1 100644 --- a/Lib/test/test_urllib2_localnet.py +++ b/Lib/test/test_urllib2_localnet.py @@ -5,7 +5,6 @@ import urllib2 import BaseHTTPServer import unittest import hashlib -import ssl from test import test_support @@ -557,7 +556,6 @@ class TestUrlopen(BaseTestCase): def test_https_with_cafile(self): handler = self.start_https_server(certfile=CERT_localhost) - import ssl # Good cert data = self.urlopen("https://localhost:%s/bizarre" % handler.port, cafile=CERT_localhost)