diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-02-01 18:43:34 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-02-01 18:43:34 -0500 |
commit | 02dbcfa88a8390ee2af4f76e47bca8f205ddeee5 (patch) | |
tree | 708fa6b903d611d0e731f134c8ff50feb3996acb | |
parent | bf70f556b382dc376783efbcb598e0fab71ee235 (diff) | |
parent | cf4e421248e3175b97170d0c6930b360ff326c06 (diff) | |
download | sqlalchemy-02dbcfa88a8390ee2af4f76e47bca8f205ddeee5.tar.gz |
Merge remote-tracking branch 'origin/pr/68' into pr68
-rw-r--r-- | test/dialect/postgresql/test_types.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py index 5e00fd605..866bc7d54 100644 --- a/test/dialect/postgresql/test_types.py +++ b/test/dialect/postgresql/test_types.py @@ -1056,6 +1056,19 @@ class UUIDTest(fixtures.TestBase): uuid.uuid4() ) + @testing.fails_on('postgresql+zxjdbc', + 'column "data" is of type uuid[] but expression is of type character varying') + @testing.fails_on('postgresql+pg8000', 'No support for UUID type') + def test_uuid_array(self): + import uuid + self._test_round_trip( + Table('utable', MetaData(), + Column('data', postgresql.ARRAY(postgresql.UUID())) + ), + [str(uuid.uuid4()), str(uuid.uuid4())], + [str(uuid.uuid4()), str(uuid.uuid4())], + ) + def test_no_uuid_available(self): from sqlalchemy.dialects.postgresql import base uuid_type = base._python_UUID |