Skip to content

Commit 226c787

Browse files
committed
test(sqlalchemy-bigquery): revert incorrect suggestion and restore expected bind parameter compilation
1 parent 343fc30 commit 226c787

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/sqlalchemy-bigquery/tests/unit/test_geography.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ def test_geoalchemy2_core(faux_conn, last_query):
9999
last_query(
100100
"SELECT `lake`.`name` \n"
101101
"FROM `lake` \n"
102-
"WHERE ST_Contains(`lake`.`geog`, ST_GeogFromText(%(ST_GeogFromText_1:STRING)s))",
103-
{"ST_GeogFromText_1": "POINT(4 1)"},
102+
"WHERE ST_Contains(`lake`.`geog`, %(ST_Contains_1:STRING)s)",
104103
{"ST_Contains_1": "POINT(4 1)"},
105104
)
106105

0 commit comments

Comments
 (0)