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:23 -0500 |
| commit | a36ace7ae36c91c0e2de7426fd20700dec28ee49 (patch) | |
| tree | 14dccb5d5a424eee711a4be7a6563fbe130ddfc9 /test | |
| parent | 630929b71edc982bd8cbfd73261d3b33f2970a1a (diff) | |
| download | sqlalchemy-a36ace7ae36c91c0e2de7426fd20700dec28ee49.tar.gz | |
- there was a DATEPART test after all, fix format
(cherry picked from commit 0ff3f95d5b41335c977e1bdbe88b7dfd4ae581e1)
Diffstat (limited to 'test')
| -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 9d89f040b..99fc9f06c 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( |
