diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-01-14 17:50:03 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-01-14 17:50:03 -0500 |
commit | 0ff3f95d5b41335c977e1bdbe88b7dfd4ae581e1 (patch) | |
tree | 1e6ea9b8ed0aa5afb073b90389cc729139f77ae7 | |
parent | d5d7284bdd0ffc96e7a79354944627cf9b5d8e4d (diff) | |
download | sqlalchemy-0ff3f95d5b41335c977e1bdbe88b7dfd4ae581e1.tar.gz |
- there was a DATEPART test after all, fix format
-rw-r--r-- | test/dialect/mssql/test_compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/mssql/test_compiler.py b/test/dialect/mssql/test_compiler.py index 80be9f67d..d91c79db2 100644 --- a/test/dialect/mssql/test_compiler.py +++ b/test/dialect/mssql/test_compiler.py @@ -383,7 +383,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): for field in 'day', 'month', 'year': self.assert_compile( select([extract(field, t.c.col1)]), - 'SELECT DATEPART("%s", t.col1) AS anon_1 FROM t' % field) + 'SELECT DATEPART(%s, t.col1) AS anon_1 FROM t' % field) def test_update_returning(self): table1 = table( |