diff options
author | Gord Thompson <gord@gordthompson.com> | 2021-07-05 11:17:13 -0600 |
---|---|---|
committer | Gord Thompson <gord@gordthompson.com> | 2021-07-12 16:44:35 -0600 |
commit | f11b221a359f401d47e3b10f1713cfffd90d1c0e (patch) | |
tree | 9beac1076ee75e105eed79f2f9d0841c9af169d8 /test/sql/test_query.py | |
parent | 18dba87757097b87495aed0ca9fc345a040da1f1 (diff) | |
download | sqlalchemy-f11b221a359f401d47e3b10f1713cfffd90d1c0e.tar.gz |
Modernize tests - union
Change-Id: I2ccb714a249350f23e2b5f78f5f9ffb0d4f7efb0
Diffstat (limited to 'test/sql/test_query.py')
-rw-r--r-- | test/sql/test_query.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py index b3d728ab3..005693402 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -1202,7 +1202,7 @@ class CompoundTest(fixtures.TablesTest): t2.c.col2.in_(["t2col2r2", "t2col2r3"]), ), ) - u = union(s1, s2, order_by=["col3", "col4"]) + u = union(s1, s2).order_by("col3", "col4") wanted = [ ("aaa", "aaa"), @@ -1225,7 +1225,7 @@ class CompoundTest(fixtures.TablesTest): t2.c.col2.in_(["t2col2r2", "t2col2r3"]), ), ) - u = union(s1, s2, order_by=["col3", "col4"]) + u = union(s1, s2).order_by("col3", "col4") wanted = [ ("aaa", "aaa"), |