Skip to content

Commit d0333b6

Browse files
committed
fix build
1 parent cfcfce9 commit d0333b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/transport/test__custom_tls_signer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import mock
1919
import pytest # type: ignore
2020
from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore
21+
2122
urllib3_pyopenssl = pytest.importorskip(
2223
"urllib3.contrib.pyopenssl",
2324
reason="urllib3.contrib.pyopenssl not available in this environment",
@@ -26,7 +27,7 @@
2627
from google.auth import exceptions
2728
from google.auth.transport import _custom_tls_signer
2829

29-
urllib3.contrib.pyopenssl.inject_into_urllib3()
30+
urllib3_pyopenssl.inject_into_urllib3()
3031

3132
FAKE_ENTERPRISE_CERT_FILE_PATH = "/path/to/enterprise/cert/file"
3233
ENTERPRISE_CERT_FILE = os.path.join(

0 commit comments

Comments
 (0)