From: Mike Bayer Date: Thu, 17 Jan 2013 04:53:00 +0000 (-0500) Subject: - "postgres_where" has been removed X-Git-Tag: rel_0_8_0~31^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2244c3febe4a21667a842b1050fa9e3ef9d6a7ea;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - "postgres_where" has been removed --- diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 4a506d5446..ff958e7b86 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -180,17 +180,6 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): 'USING hash (data)', dialect=postgresql.dialect()) - @testing.uses_deprecated(r".*'postgres_where' argument has been " - "renamed.*") - def test_old_create_partial_index(self): - tbl = Table('testtbl', MetaData(), Column('data', Integer)) - idx = Index('test_idx1', tbl.c.data, - postgres_where=and_(tbl.c.data > 5, tbl.c.data - < 10)) - self.assert_compile(schema.CreateIndex(idx), - 'CREATE INDEX test_idx1 ON testtbl (data) ' - 'WHERE data > 5 AND data < 10', - dialect=postgresql.dialect()) def test_extract(self): t = table('t', column('col1', DateTime), column('col2', Date),