Skip to content

Commit 239c11a

Browse files
committed
chore: updates parens in a failing test to support 2.0
1 parent ce7ce67 commit 239c11a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/sqlalchemy-bigquery/tests/system/test__struct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_complex_literals_pr_67(engine, bigquery_dataset, metadata):
117117
sqlalchemy.select((table.c.dimensions.x__count + 5).label("c")).compile(engine)
118118
)
119119
want = (
120-
f"SELECT (`{table_name}`.`dimensions`.x__count) + %(param_1:INT64)s AS `c` \n"
120+
f"SELECT `{table_name}`.`dimensions`.x__count + %(param_1:INT64)s AS `c` \n"
121121
f"FROM `{table_name}`"
122122
)
123123

@@ -185,7 +185,7 @@ def test_unnest_and_struct_access_233(engine, bigquery_dataset, metadata):
185185
f" AS `another_mock_objects`"
186186
f") AS `anon_1` "
187187
f"ON "
188-
f"(`anon_1`.`another_mock_objects`.object_id) = "
188+
f"`anon_1`.`another_mock_objects`.object_id = "
189189
f"`{bigquery_dataset}.Mock`.`mock_id`"
190190
)
191191
assert got == want

0 commit comments

Comments
 (0)