chore: Fix two types of warnings in unit tests (#2183) · googleapis/python-bigquery@2140a51 · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Fix two types of warnings in unit tests (#2183)
* Fix two types of warnings in unit tests
This commit addresses two warnings that appear when running unit tests:
1. `PytestRemovedIn9Warning` in `tests/unit/test_opentelemetry_tracing.py`:
Removed a `@pytest.mark.skipif` decorator from a fixture. The skip condition
is already present on the test methods using the fixture.
2. `FutureWarning` in `tests/unit/test_client.py`:
Updated calls to `client.query()` to include `job_retry=None` when `job_id`
is also specified. This is to avoid ambiguity as BigQuery cannot retry a
failed job with the exact same ID.
* Update tests/unit/test_client.py
* Update tests/unit/test_client.py
* Update linting
* adds more examples of functions where job_retry is needed
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.
Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.
🎥 Watch TMZ Live
TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.
0 commit comments