Skip to content

Commit 6844bd2

Browse files
committed
fix: remove unnecessary grpc check in test_client_cert.py
1 parent 6bf0e26 commit 6844bd2

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

packages/google-api-core/tests/unit/gapic/test_client_cert.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818

1919
import pytest
2020

21-
# We need to skip this test module if grpc is not installed because importing
22-
# gapic_v1._client_cert will load gapic_v1/__init__, which unconditionally
23-
# imports gapic_v1.config, which imports grpc.
24-
try:
25-
import grpc # noqa: F401
26-
except ImportError:
27-
pytest.skip("No GRPC", allow_module_level=True)
2821

2922
from google.api_core.gapic_v1._client_cert import (
3023
_get_client_cert_source,

0 commit comments

Comments
 (0)