]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
test fix, [ticket:1595]
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Nov 2009 00:10:11 +0000 (00:10 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Nov 2009 00:10:11 +0000 (00:10 +0000)
test/sql/test_types.py

index 100ff8b78269905b550e91caa4a7e94dcf7e74eb..15815a420c72422bb76d62d8d9f3eda3398e56ba 100644 (file)
@@ -204,10 +204,9 @@ class ColumnsTest(TestBase, AssertsExecutionResults):
                           }
 
         db = testing.db
-        if testing.against('oracle'):
-            expectedResults['float_column'] = 'float_column FLOAT'
-
-        if testing.against('sqlite'):
+        if testing.against('oracle') or \
+            testing.against('sqlite') or \
+            testing.against('firebird'):
             expectedResults['float_column'] = 'float_column FLOAT'
             
         if testing.against('maxdb'):
@@ -229,8 +228,10 @@ class ColumnsTest(TestBase, AssertsExecutionResults):
         for aCol in testTable.c:
             eq_(
                 expectedResults[aCol.name],
-                db.dialect.ddl_compiler(db.dialect, schema.CreateTable(testTable)).\
-                  get_column_specification(aCol))
+                db.dialect.ddl_compiler(
+                            db.dialect, schema.CreateTable(testTable)).
+                            get_column_specification(aCol)
+            )
 
 class UnicodeTest(TestBase, AssertsExecutionResults):
     """tests the Unicode type.  also tests the TypeDecorator with instances in the types package."""