- there was a DATEPART test after all, fix format

This commit is contained in:
Mike Bayer
2016-01-14 17:50:03 -05:00
parent d5d7284bdd
commit 0ff3f95d5b
+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(