Skip to content

Commit 5413a1b

Browse files
committed
updates tests to resolve failing tests
1 parent d1dfa01 commit 5413a1b

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

packages/google-cloud-bigquery/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,9 @@ def prerelease_deps(session):
480480
"-W default::PendingDeprecationWarning",
481481
)
482482
else:
483-
session.log("Skipping system tests because GOOGLE_APPLICATION_CREDENTIALS is not set.")
484-
483+
session.log(
484+
"Skipping system tests because GOOGLE_APPLICATION_CREDENTIALS is not set."
485+
)
485486

486487

487488
@nox.session(python=DEFAULT_PYTHON_VERSION)

packages/google-cloud-bigquery/tests/system/test_query.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,9 @@ def test_query_picosecond(bigquery_client: bigquery.Client):
558558
)
559559
except exceptions.BadRequest as exc:
560560
if "timestamp_output_format" in str(exc):
561-
pytest.skip("Timestamp output format not supported or parameter invalid for this environment")
561+
pytest.skip(
562+
"Timestamp output format not supported or parameter invalid for this environment"
563+
)
562564
raise exc
563565

564566
result = job.result()

packages/google-cloud-bigquery/tests/unit/test__pandas_helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,9 @@ def test_dataframe_to_bq_schema_w_multiindex(module_under_test, monkeypatch):
13771377

13781378
assert returned_schema[3] == schema.SchemaField("str_column", "STRING", "NULLABLE")
13791379
assert returned_schema[4] == schema.SchemaField("int_column", "INTEGER", "NULLABLE")
1380-
assert returned_schema[5] == schema.SchemaField("bool_column", "BOOLEAN", "NULLABLE")
1380+
assert returned_schema[5] == schema.SchemaField(
1381+
"bool_column", "BOOLEAN", "NULLABLE"
1382+
)
13811383

13821384

13831385
@pytest.mark.skipif(pandas is None, reason="Requires `pandas`")

0 commit comments

Comments
 (0)