This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Commit eec3b40
committed
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.1 parent 0217637 commit eec3b40
2 files changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4719 | 4719 | | |
4720 | 4720 | | |
4721 | 4721 | | |
4722 | | - | |
| 4722 | + | |
4723 | 4723 | | |
4724 | 4724 | | |
4725 | 4725 | | |
| |||
4774 | 4774 | | |
4775 | 4775 | | |
4776 | 4776 | | |
4777 | | - | |
| 4777 | + | |
4778 | 4778 | | |
4779 | 4779 | | |
4780 | 4780 | | |
| |||
4833 | 4833 | | |
4834 | 4834 | | |
4835 | 4835 | | |
4836 | | - | |
| 4836 | + | |
4837 | 4837 | | |
4838 | 4838 | | |
4839 | 4839 | | |
| |||
5178 | 5178 | | |
5179 | 5179 | | |
5180 | 5180 | | |
5181 | | - | |
| 5181 | + | |
5182 | 5182 | | |
5183 | 5183 | | |
5184 | 5184 | | |
| |||
5234 | 5234 | | |
5235 | 5235 | | |
5236 | 5236 | | |
5237 | | - | |
| 5237 | + | |
5238 | 5238 | | |
5239 | 5239 | | |
5240 | 5240 | | |
| |||
5277 | 5277 | | |
5278 | 5278 | | |
5279 | 5279 | | |
5280 | | - | |
| 5280 | + | |
5281 | 5281 | | |
5282 | 5282 | | |
5283 | 5283 | | |
| |||
5293 | 5293 | | |
5294 | 5294 | | |
5295 | 5295 | | |
5296 | | - | |
| 5296 | + | |
5297 | 5297 | | |
5298 | 5298 | | |
5299 | 5299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
0 commit comments