summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-01-16 23:53:00 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-01-16 23:53:00 -0500
commit2244c3febe4a21667a842b1050fa9e3ef9d6a7ea (patch)
tree0d894f85404a28157c277ddc0886aaa6ab19d3df /test/dialect/test_postgresql.py
parent7fedf9958687222a9e3c2fc4d50983711dbb3d52 (diff)
downloadsqlalchemy-2244c3febe4a21667a842b1050fa9e3ef9d6a7ea.tar.gz
- "postgres_where" has been removed
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r--test/dialect/test_postgresql.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py
index 4a506d544..ff958e7b8 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),