diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-10 00:10:11 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-10 00:10:11 +0000 |
| commit | 12a323eb0c4f90230016da8a2bd66928b448c142 (patch) | |
| tree | c2bd81b735169e208dffc813b38d13334e9d3459 /test/sql | |
| parent | f8e098544bd5f8d23b15453ee94cf0560dac747e (diff) | |
| download | sqlalchemy-12a323eb0c4f90230016da8a2bd66928b448c142.tar.gz | |
test fix, [ticket:1595]
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/test_types.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 100ff8b78..15815a420 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.""" |
