- there was a DATEPART test after all, fix format

(cherry picked from commit 0ff3f95d5b)
This commit is contained in:
Mike Bayer
2016-01-14 17:50:03 -05:00
parent 630929b71e
commit a36ace7ae3
+1 -1
View File
@@ -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(