]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
remove extra ssl imports (closes #23053)
authorBenjamin Peterson <benjamin@python.org>
Mon, 15 Dec 2014 15:04:13 +0000 (10:04 -0500)
committerBenjamin Peterson <benjamin@python.org>
Mon, 15 Dec 2014 15:04:13 +0000 (10:04 -0500)
Patch from Jan Matejek.

Lib/test/test_urllib2_localnet.py

index e17b2251af0f4b6ad7c2f30885ae0dd152bc818b..0650aa2744311d0a24bf81c04fc572722f6c68a5 100644 (file)
@@ -551,7 +551,6 @@ class TestUrlopen(unittest.TestCase):
 
     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)