Skip to content

Commit

Permalink
test: fix executemany call to use expected DBAPI formatting (#569)
Browse files Browse the repository at this point in the history
Co-authored-by: larkee <larkee@users.noreply.github.com>
  • Loading branch information
larkee and larkee committed Sep 14, 2021
1 parent b5f977e commit 1a0a435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/test_dbapi.py
Expand Up @@ -280,7 +280,7 @@ def test_execute_many(shared_instance, dbapi_database):
conn.commit()

cursor.executemany(
"""SELECT * FROM contacts WHERE contact_id = @a1""", ({"a1": 1}, {"a1": 2}),
"""SELECT * FROM contacts WHERE contact_id = %s""", ((1,), (2,)),
)
res = cursor.fetchall()
conn.commit()
Expand Down

0 comments on commit 1a0a435

Please sign in to comment.