From 4668c10e6e1e9272ba402b9d0721a9f79005f4ae Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 12 Jul 2018 10:32:34 +0300 Subject: [PATCH] test: gs: catch WinError --- 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 abdbca21e..4b41d28c3 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): + except (CalledProcessError, IOError, WinError): return False return True