diff options
author | Federico Caselli <cfederico87@gmail.com> | 2021-10-30 22:24:51 +0200 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-10-31 12:31:56 -0400 |
commit | ed78e679eafe787f4c152b78726bf1e1b91ab465 (patch) | |
tree | 9ba564f0ad1f0569650fcf803157bf4576fc738f /test/dialect/mssql/test_compiler.py | |
parent | 4427ec68219b624a89dda4acb994c80fa0d8a5d7 (diff) | |
download | sqlalchemy-ed78e679eafe787f4c152b78726bf1e1b91ab465.tar.gz |
Remove deprecated dialects and drivers
Fixes: #7258
Change-Id: I3577f665eca04f2632b69bcb090f0a4ec9271db9
Diffstat (limited to 'test/dialect/mssql/test_compiler.py')
-rw-r--r-- | test/dialect/mssql/test_compiler.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/dialect/mssql/test_compiler.py b/test/dialect/mssql/test_compiler.py index cf8894f42..dc6805a2b 100644 --- a/test/dialect/mssql/test_compiler.py +++ b/test/dialect/mssql/test_compiler.py @@ -26,7 +26,6 @@ from sqlalchemy import UniqueConstraint from sqlalchemy import update from sqlalchemy.dialects import mssql from sqlalchemy.dialects.mssql import base as mssql_base -from sqlalchemy.dialects.mssql import mxodbc from sqlalchemy.dialects.mssql.base import try_cast from sqlalchemy.sql import column from sqlalchemy.sql import quoted_name @@ -357,13 +356,13 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): from sqlalchemy.dialects.mssql.base import MSSQLStrictCompiler - mxodbc_dialect = mxodbc.dialect() - mxodbc_dialect.statement_compiler = MSSQLStrictCompiler + mssql_dialect = mssql.dialect() + mssql_dialect.statement_compiler = MSSQLStrictCompiler t = table("sometable", column("foo")) expr = testing.resolve_lambda(expr, t=t) - self.assert_compile(expr, compiled, dialect=mxodbc_dialect, **kw) + self.assert_compile(expr, compiled, dialect=mssql_dialect, **kw) def test_in_with_subqueries(self): """Test removal of legacy behavior that converted "x==subquery" |