Tests should run without PyOpenSSL or SecureTransport
@@ -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
