mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
test: gc: catch OSError
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user