summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/suite/test_insert.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-09-16 18:45:51 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-09-16 18:45:51 +0000
commitd5c89a541f5233baf6b6a7498746820caa7b407f (patch)
tree9b3378d1f33da48193d1ea8b8415222c7e80614f /lib/sqlalchemy/testing/suite/test_insert.py
parent362c9277b2d4d27cbcff359ba29c1e71005fed18 (diff)
parent7e864fc7b1b950760cbf02e6dcd5aa5aac267400 (diff)
downloadsqlalchemy-d5c89a541f5233baf6b6a7498746820caa7b407f.tar.gz
Merge "Create a framework to allow all SQLALCHEMY_WARN_20 to pass"
Diffstat (limited to 'lib/sqlalchemy/testing/suite/test_insert.py')
-rw-r--r--lib/sqlalchemy/testing/suite/test_insert.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_insert.py b/lib/sqlalchemy/testing/suite/test_insert.py
index 74347cc77..7a7eac02f 100644
--- a/lib/sqlalchemy/testing/suite/test_insert.py
+++ b/lib/sqlalchemy/testing/suite/test_insert.py
@@ -225,7 +225,9 @@ class InsertBehaviorTest(fixtures.TablesTest):
)
connection.execute(
- table.insert(inline=True).from_select(
+ table.insert()
+ .inline()
+ .from_select(
("id", "data"),
select(table.c.id + 5, table.c.data).where(
table.c.data.in_(["data2", "data3"])
@@ -253,7 +255,9 @@ class InsertBehaviorTest(fixtures.TablesTest):
)
connection.execute(
- table.insert(inline=True).from_select(
+ table.insert()
+ .inline()
+ .from_select(
("id", "data"),
select(table.c.id + 5, table.c.data).where(
table.c.data.in_(["data2", "data3"])