Skip to content

Commit bae4ffc

Browse files
committed
remove extra ssl imports (closes #23053)
Patch from Jan Matejek.
1 parent 909843b commit bae4ffc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Lib/test/test_urllib2_localnet.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ def test_https(self):
551551

552552
def test_https_with_cafile(self):
553553
handler = self.start_https_server(certfile=CERT_localhost)
554-
import ssl
555554
# Good cert
556555
data = self.urlopen("https://localhost:%s/bizarre" % handler.port,
557556
cafile=CERT_localhost)

0 commit comments

Comments
 (0)