From 57be031f90e415a25958ccb4afd682916b0573b9 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Thu, 8 Feb 2024 13:12:25 -0600 Subject: [PATCH] chore: skip `test_to_dataframe_iterable_w_bqstorage_max_results_warning` if google-cloud-bigquery-storage is not installed (#1814) --- tests/unit/test_table.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/test_table.py b/tests/unit/test_table.py index e4d0c66ab..00a7f06e6 100644 --- a/tests/unit/test_table.py +++ b/tests/unit/test_table.py @@ -3285,6 +3285,9 @@ def test_to_dataframe_iterable_w_bqstorage(self): # Don't close the client if it was passed in. bqstorage_client._transport.grpc_channel.close.assert_not_called() + @unittest.skipIf( + bigquery_storage is None, "Requires `google-cloud-bigquery-storage`" + ) @unittest.skipIf(pandas is None, "Requires `pandas`") def test_to_dataframe_iterable_w_bqstorage_max_results_warning(self): from google.cloud.bigquery import schema