Skip to content

Commit 57be031

Browse files
authored
chore: skip test_to_dataframe_iterable_w_bqstorage_max_results_warning if google-cloud-bigquery-storage is not installed (#1814)
1 parent 6163711 commit 57be031

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/test_table.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3285,6 +3285,9 @@ def test_to_dataframe_iterable_w_bqstorage(self):
32853285
# Don't close the client if it was passed in.
32863286
bqstorage_client._transport.grpc_channel.close.assert_not_called()
32873287

3288+
@unittest.skipIf(
3289+
bigquery_storage is None, "Requires `google-cloud-bigquery-storage`"
3290+
)
32883291
@unittest.skipIf(pandas is None, "Requires `pandas`")
32893292
def test_to_dataframe_iterable_w_bqstorage_max_results_warning(self):
32903293
from google.cloud.bigquery import schema

0 commit comments

Comments
 (0)