summaryrefslogtreecommitdiff
path: root/test/dialect/mssql/test_compiler.py
diff options
context:
space:
mode:
authorGord Thompson <gord@gordthompson.com>2021-07-05 11:17:13 -0600
committerGord Thompson <gord@gordthompson.com>2021-07-12 16:44:35 -0600
commitf11b221a359f401d47e3b10f1713cfffd90d1c0e (patch)
tree9beac1076ee75e105eed79f2f9d0841c9af169d8 /test/dialect/mssql/test_compiler.py
parent18dba87757097b87495aed0ca9fc345a040da1f1 (diff)
downloadsqlalchemy-f11b221a359f401d47e3b10f1713cfffd90d1c0e.tar.gz
Modernize tests - union
Change-Id: I2ccb714a249350f23e2b5f78f5f9ffb0d4f7efb0
Diffstat (limited to 'test/dialect/mssql/test_compiler.py')
-rw-r--r--test/dialect/mssql/test_compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/mssql/test_compiler.py b/test/dialect/mssql/test_compiler.py
index 2e4a08713..f1f849bf9 100644
--- a/test/dialect/mssql/test_compiler.py
+++ b/test/dialect/mssql/test_compiler.py
@@ -805,7 +805,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
t2.c.col2.in_(["t2col2r2", "t2col2r3"]),
),
)
- u = union(s1, s2, order_by=["col3", "col4"])
+ u = union(s1, s2).order_by("col3", "col4")
self.assert_compile(
u,
"SELECT t1.col3 AS col3, t1.col4 AS col4 "