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)
commit3004b409938fe2e1bed4a25a43f36442865a7265 (patch)
tree7666a3fcb578263a9e05c0a9983585f382d3babf /Lib/test/test_urllib2_localnet.py
parent655720e2758a15c85effb340ff65f4b93e7cc7a7 (diff)
downloadcpython-3004b409938fe2e1bed4a25a43f36442865a7265.zip
cpython-3004b409938fe2e1bed4a25a43f36442865a7265.tar.gz
cpython-3004b409938fe2e1bed4a25a43f36442865a7265.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.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
index a24a077..bb82b26 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)