Skip to content

Commit b8f8f21

Browse files
authored
Update tests/sqlalchemy_dialect_compliance/test_dialect_compliance.py
1 parent e95aee1 commit b8f8f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sqlalchemy_dialect_compliance/test_dialect_compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class SimpleUpdateDeleteTest(_SimpleUpdateDeleteTest):
122122
def test_update(self):
123123
t = self.tables.plain_pk
124124
connection = config.db.connect()
125-
# Had to pass in data as a dict object in 2.0
125+
# In SQLAlchemy 2.0, the datatype changed to dict in the following function.
126126
r = connection.execute(t.update().where(t.c.id == 2), dict(data="d2_new"))
127127
assert not r.is_insert
128128

0 commit comments

Comments
 (0)