From: Mike Bayer Date: Thu, 14 Jan 2016 22:50:03 +0000 (-0500) Subject: - there was a DATEPART test after all, fix format X-Git-Tag: rel_1_1_0b1~84^2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ff3f95d5b41335c977e1bdbe88b7dfd4ae581e1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - there was a DATEPART test after all, fix format --- diff --git a/test/dialect/mssql/test_compiler.py b/test/dialect/mssql/test_compiler.py index 80be9f67d6..d91c79db25 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(