From: Mike Bayer Date: Sun, 25 Oct 2009 16:50:09 +0000 (+0000) Subject: well great nobody even supports PG enum. X-Git-Tag: rel_0_6beta1~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5f827b12dbceb1c6e8f8b787548b9de326fe076;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git well great nobody even supports PG enum. --- diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 88e0c32245..4e9a324d44 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -132,7 +132,13 @@ class EnumTest(TestBase, AssertsExecutionResults, AssertsCompiledSQL): postgresql.DropEnumType(e2), "DROP TYPE someschema.somename" ) - + + @testing.fails_on('postgresql+zxjdbc', + 'zxjdbc fails on ENUM: column "XXX" is of type XXX ' + 'but expression is of type character varying') + @testing.fails_on('postgresql+pg8000', + 'zxjdbc fails on ENUM: column "XXX" is of type XXX ' + 'but expression is of type text') def test_create_table(self): metadata = MetaData(testing.db) t1 = Table('table', metadata, @@ -158,6 +164,12 @@ class EnumTest(TestBase, AssertsExecutionResults, AssertsCompiledSQL): assert_raises(exc.ArgumentError, etype.create) assert_raises(exc.ArgumentError, etype.compile, dialect=postgresql.dialect()) + @testing.fails_on('postgresql+zxjdbc', + 'zxjdbc fails on ENUM: column "XXX" is of type XXX ' + 'but expression is of type character varying') + @testing.fails_on('postgresql+pg8000', + 'zxjdbc fails on ENUM: column "XXX" is of type XXX ' + 'but expression is of type text') def test_unicode_labels(self): metadata = MetaData(testing.db) t1 = Table('table', metadata,