]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix keyword error
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Jul 2011 15:09:04 +0000 (11:09 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Jul 2011 15:09:04 +0000 (11:09 -0400)
test/dialect/test_postgresql.py

index 4dffa04153acdef763604a97d94b2c9c306583d9..97221449ecba608360fd0f4b854e59c477340560 100644 (file)
@@ -156,7 +156,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
         m = MetaData()
         tbl = Table('testtbl', m,
                     Column('data', String), 
-                    Column('data2', key='d2', Integer))
+                    Column('data2', Integer, key='d2'))
 
         idx = Index('test_idx1', tbl.c.data,
                     postgresql_ops={'data': 'text_pattern_ops'})