]> 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)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 May 2014 16:29:25 +0000 (12:29 -0400)
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 b94cc040a5f7a4e2083366617799792a44794cd1..1bfa8c4b7a18acd1793f2283c97c8cb8190f8dcb 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