Skip to content

Commit

Permalink
test: gc: catch OSError
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Jul 12, 2018
1 parent 4668c10 commit c636581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_data_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c636581

Please sign in to comment.