diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-22 17:24:42 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-22 17:24:42 -0400 |
commit | b6c523d25550cfa01cbe7e9dd24dd1179a32eae8 (patch) | |
tree | 60c5cf727f4c9ec1d26822bf8ae5185d71b25979 /test/dialect/test_postgresql.py | |
parent | 9731e06b387602eb6a151df03bea14e39b748a80 (diff) | |
parent | 63c211f42730011760aa8e3f88b2171b23bc0a60 (diff) | |
download | sqlalchemy-b6c523d25550cfa01cbe7e9dd24dd1179a32eae8.tar.gz |
merge default
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r-- | test/dialect/test_postgresql.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 42c8c85c4..e217eb0b8 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -2247,6 +2247,17 @@ class ArrayTest(fixtures.TablesTest, AssertsExecutionResults): 7 ) + def test_undim_array_empty(self): + arrtable = self.tables.arrtable + self._fixture_456(arrtable) + eq_( + testing.db.scalar( + select([arrtable.c.intarr]). + where(arrtable.c.intarr.contains([])) + ), + [4, 5, 6] + ) + def test_array_getitem_slice_exec(self): arrtable = self.tables.arrtable testing.db.execute( |