Tests should run without PyOpenSSL or SecureTransport
MODIFY
test/contrib/test_pyopenssl.py
test/contrib/test_pyopenssl.py
@@ -6,11 +6,7 @@ import mock
import pytest
try:
- from urllib3.contrib.pyopenssl import (
- _dnsname_to_stdlib, get_subj_alt_name
- )
- from cryptography import x509
- from OpenSSL.crypto import FILETYPE_PEM, load_certificate
+ from urllib3.contrib.pyopenssl import _dnsname_to_stdlib
except ImportError:
pass

Tests should run without PyOpenSSL or SecureTransport