From c636581699da89ee30426c1aa0c2cd2c248e10b2 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 12 Jul 2018 10:41:34 +0300 Subject: [PATCH] test: gc: catch OSError --- tests/test_data_cloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_data_cloud.py b/tests/test_data_cloud.py index 4b41d28c39..df09e937d1 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