From a5f827b12dbceb1c6e8f8b787548b9de326fe076 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 25 Oct 2009 16:50:09 +0000 Subject: [PATCH] well great nobody even supports PG enum. --- test/dialect/test_postgresql.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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, -- 2.47.2