[Python-checkins] cpython (2.7): remove extra ssl imports (closes #23053)
benjamin.peterson
python-checkins at python.org
Mon Dec 15 16:05:35 CET 2014
https://hg.python.org/cpython/rev/ebe8917189a3
changeset: 93890:ebe8917189a3
branch: 2.7
parent: 93887:9927781e457f
user: Benjamin Peterson <benjamin at python.org>
date: Mon Dec 15 10:04:13 2014 -0500
summary:
remove extra ssl imports (closes #23053)
Patch from Jan Matejek.
files:
Lib/test/test_urllib2_localnet.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
--- a/Lib/test/test_urllib2_localnet.py
+++ b/Lib/test/test_urllib2_localnet.py
@@ -5,7 +5,6 @@
import BaseHTTPServer
import unittest
import hashlib
-import ssl
from test import test_support
@@ -557,7 +556,6 @@
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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list