Skip to content

Commit

Permalink
chore(deps): update all dependencies (#1936)
Browse files Browse the repository at this point in the history
* chore(deps): update all dependencies

* πŸ¦‰ Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* πŸ¦‰ Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Chalmer Lowe <[email protected]>
  • Loading branch information
3 people authored May 31, 2024
1 parent 5f85e2e commit 618d4bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -2362,13 +2362,14 @@ def test__should_use_bqstorage_returns_false_if_max_results_set(self):

def test__should_use_bqstorage_returns_false_w_warning_if_missing_dependency(self):
iterator = self._make_one(first_page_response=None) # not cached

def fail_bqstorage_import(name, globals, locals, fromlist, level):
"""Returns True if bigquery_storage has been imported."""
# NOTE: *very* simplified, assuming a straightforward absolute import
return "bigquery_storage" in name or (
fromlist is not None and "bigquery_storage" in fromlist
)

# maybe_fail_import() returns ImportError if the predicate is True
no_bqstorage = maybe_fail_import(predicate=fail_bqstorage_import)

Expand Down

0 comments on commit 618d4bb

Please sign in to comment.