File tree Expand file tree Collapse file tree
packages/google-api-core/tests/unit/gapic Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919import pytest
2020
21- # We need to skip this test module if grpc is not installed because importing
22- # gapic_v1._config_helpers 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 )
28-
2921from google .auth .exceptions import MutualTLSChannelError
3022
3123from google .api_core .gapic_v1 ._config_helpers import _read_environment_variables
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616
17- import pytest
18-
19- # We need to skip this test module if grpc is not installed because importing
20- # gapic_v1._method_helpers will load gapic_v1/__init__, which unconditionally
21- # imports gapic_v1.config, which imports grpc.
22- try :
23- import grpc # noqa: F401
24- except ImportError :
25- pytest .skip ("No GRPC" , allow_module_level = True )
26-
27-
2817from google .api_core .gapic_v1 ._method_helpers import _setup_request_id
2918
3019
Original file line number Diff line number Diff line change 1717
1818import pytest
1919
20- # We need to skip this test module if grpc is not installed because importing
21- # gapic_v1._routing will load gapic_v1/__init__, which unconditionally
22- # imports gapic_v1.config, which imports grpc.
23- try :
24- import grpc # noqa: F401
25- except ImportError :
26- pytest .skip ("No GRPC" , allow_module_level = True )
27-
2820from google .auth .exceptions import MutualTLSChannelError
2921
3022from google .api_core .gapic_v1 ._routing import (
You can’t perform that action at this time.
0 commit comments