test: gc: catch OSError

This commit is contained in:
Ruslan Kuprieiev
2018-07-12 10:41:34 +03:00
committed by GitHub
parent 4668c10e6e
commit c636581699
+1 -1
View File
@@ -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