summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2_localnet.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-12-15 15:04:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-12-15 15:04:13 (GMT)
commit4c11c92578c32f218f8840ab56c4cc8df9923172 (patch)
treea13174abdcd67771d0c479da2b8f81534a2c0dc7 /Lib/test/test_urllib2_localnet.py
parentbad1257c96943dcb39584a41e1a178542479df97 (diff)
downloadcpython-4c11c92578c32f218f8840ab56c4cc8df9923172.zip
cpython-4c11c92578c32f218f8840ab56c4cc8df9923172.tar.gz
cpython-4c11c92578c32f218f8840ab56c4cc8df9923172.tar.bz2
remove extra ssl imports (closes #23053)
Patch from Jan Matejek.
Diffstat (limited to 'Lib/test/test_urllib2_localnet.py')
-rw-r--r--Lib/test/test_urllib2_localnet.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
index e17b225..0650aa2 100644
--- a/Lib/test/test_urllib2_localnet.py
+++ b/Lib/test/test_urllib2_localnet.py
@@ -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)