]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Two tests now work for pg800 in EnumTest
authorTony Locke <tlocke@tlocke.org.uk>
Sat, 10 May 2014 13:55:21 +0000 (14:55 +0100)
committerTony Locke <tlocke@tlocke.org.uk>
Wed, 21 May 2014 18:17:41 +0000 (19:17 +0100)
The two tests, test_create_table() and test_unicode_labels() previously
failed under pg8000, but now they pass, so this commit opens them up.

test/dialect/postgresql/test_types.py

index b30847bce2e873cc24674d8c860d27b1682c7d81..b322f45f9cf76bbbac10bc6c6a1d9497b871ad24 100644 (file)
@@ -108,9 +108,6 @@ class EnumTest(fixtures.TestBase, AssertsExecutionResults):
     @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, Column('id', Integer,
@@ -138,9 +135,6 @@ class EnumTest(fixtures.TestBase, AssertsExecutionResults):
     @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')
     @testing.provide_metadata
     def test_unicode_labels(self):
         metadata = self.metadata