Commit 3004b409 authored by Benjamin Peterson's avatar Benjamin Peterson

remove extra ssl imports (closes #23053)

Patch from Jan Matejek.
parent 655720e2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment