diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-18 17:45:04 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-18 17:45:04 +0000 |
| commit | 223bd3688dfd01f9dff973cbf9b3d92f39df4c21 (patch) | |
| tree | 76cfd6d34cef0223b3d2ebae00773f404085f1b0 /test/sql | |
| parent | 1127b10b278440247f18d1859e1f70a4aafaa9fb (diff) | |
| download | sqlalchemy-223bd3688dfd01f9dff973cbf9b3d92f39df4c21.tar.gz | |
oracle doesnt seem to like CLOB in unions....
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/testtypes.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test/sql/testtypes.py b/test/sql/testtypes.py index 793695919..eb0321956 100644 --- a/test/sql/testtypes.py +++ b/test/sql/testtypes.py @@ -315,9 +315,8 @@ class UnicodeTest(TestBase, AssertsExecutionResults): unicode_text=unicodedata, plain_varchar=rawdata) - x = union(unicode_table.select(), unicode_table.select()).execute().fetchone() + x = union(select([unicode_table.c.unicode_varchar]), select([unicode_table.c.unicode_varchar])).execute().fetchone() self.assert_(isinstance(x['unicode_varchar'], unicode) and x['unicode_varchar'] == unicodedata) - self.assert_(isinstance(x['unicode_text'], unicode) and x['unicode_text'] == unicodedata) def test_assertions(self): @@ -659,12 +658,8 @@ class DateTest(TestBase, AssertsExecutionResults): t.drop(checkfirst=True) class StringTest(TestBase, AssertsExecutionResults): - @testing.fails_on('mysql') + @testing.fails_on('mysql', 'oracle') def test_nolength_string(self): - # this tests what happens with String DDL with no length. seems like - # we need to decide amongst "VARCHAR" (sqlite, postgres), "TEXT" - # (mysql) i.e. theres some inconsisency here. - metadata = MetaData(testing.db) foo = Table('foo', metadata, Column('one', String)) |
