Skip to content

Commit

Permalink
chore: skip `test_to_dataframe_iterable_w_bqstorage_max_results_warni…
Browse files Browse the repository at this point in the history
…ng` if google-cloud-bigquery-storage is not installed (#1814)
  • Loading branch information
tswast authored Feb 8, 2024
1 parent 6163711 commit 57be031
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57be031

Please sign in to comment.