diff options
Diffstat (limited to 'tests/unit/gapic/test_config.py')
-rw-r--r-- | tests/unit/gapic/test_config.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit/gapic/test_config.py b/tests/unit/gapic/test_config.py index 1c15261..5e42fde 100644 --- a/tests/unit/gapic/test_config.py +++ b/tests/unit/gapic/test_config.py @@ -12,6 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. +import pytest + +try: + import grpc # noqa: F401 +except ImportError: + pytest.skip("No GRPC", allow_module_level=True) + from google.api_core import exceptions from google.api_core.gapic_v1 import config |