From: Mike Bayer Date: Tue, 10 Nov 2009 00:10:11 +0000 (+0000) Subject: test fix, [ticket:1595] X-Git-Tag: rel_0_6beta1~176 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12a323eb0c4f90230016da8a2bd66928b448c142;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git test fix, [ticket:1595] --- diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 100ff8b782..15815a420c 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -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."""