summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql/test_compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-08-26 17:20:41 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-08-26 17:20:56 -0400
commit4d63b472f272138eca0286fd6c4a7bf52e9be3c3 (patch)
treeabe53bdc05dc410c3a885f3635b093ae5a994020 /test/dialect/postgresql/test_compiler.py
parent0127ac668e405584d74c92768a9f0dc7913798fe (diff)
parent7c4512cbeb1cf9e4e988e833589ddc6377b5e525 (diff)
downloadsqlalchemy-4d63b472f272138eca0286fd6c4a7bf52e9be3c3.tar.gz
Merge branch 'ticket_3516'
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
-rw-r--r--test/dialect/postgresql/test_compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/postgresql/test_compiler.py b/test/dialect/postgresql/test_compiler.py
index 1489fe24c..0407dcb81 100644
--- a/test/dialect/postgresql/test_compiler.py
+++ b/test/dialect/postgresql/test_compiler.py
@@ -693,7 +693,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
self._test_array_zero_indexes(False)
def test_array_literal_type(self):
- is_(postgresql.array([1, 2]).type._type_affinity, postgresql.ARRAY)
+ isinstance(postgresql.array([1, 2]).type, postgresql.ARRAY)
is_(postgresql.array([1, 2]).type.item_type._type_affinity, Integer)
is_(postgresql.array([1, 2], type_=String).