]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Replace engine.execute w/ context manager (step1)
authorGord Thompson <gord@gordthompson.com>
Thu, 13 Feb 2020 19:14:42 +0000 (12:14 -0700)
committerGord Thompson <gord@gordthompson.com>
Mon, 17 Feb 2020 17:15:12 +0000 (10:15 -0700)
commit60f627cbd0d769e65353e720548efac9d8ab95d9
tree2370558b27263eeeae1f6731d39d80f2483b18e0
parent3c7765b49c0aba253c11f435b2923bb488d15809
Replace engine.execute w/ context manager (step1)

First (baby) step at replacing engine.execute
calls in test code with the new preferred way
of executing. MSSQL was targeted because it was
the easiest for me to test locally.

Change-Id: Id2e02f0e39007cbfd28ca6a535115f53c6407015
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/testing/fixtures.py
lib/sqlalchemy/testing/suite/test_insert.py
lib/sqlalchemy/testing/suite/test_results.py
lib/sqlalchemy/testing/suite/test_types.py
test/dialect/mssql/test_query.py
test/dialect/mssql/test_types.py