diff --git a/tests/test_data_cloud.py b/tests/test_data_cloud.py index 4b41d28c3..df09e937d 100644 --- a/tests/test_data_cloud.py +++ b/tests/test_data_cloud.py @@ -52,7 +52,7 @@ def _should_test_gcp(): try: check_output(['gcloud', 'auth', 'activate-service-account', '--key-file', creds]) - except (CalledProcessError, IOError, WinError): + except (CalledProcessError, OSError): return False return True