Skip to content

Commit

Permalink
- fix array test that was essentially taking a weird guess
Browse files Browse the repository at this point in the history
at the primary key of a row based on other tests invoking around it

(cherry picked from commit 7d70dfd)
  • Loading branch information
zzzeek committed Jan 23, 2016
1 parent 2419bfe commit 926784f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/dialect/postgresql/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1079,13 +1079,13 @@ def test_array_concat(self):

def test_array_comparison(self):
arrtable = self.tables.arrtable
arrtable.insert().execute(intarr=[1, 2, 3],
arrtable.insert().execute(id=5, intarr=[1, 2, 3],
strarr=[util.u('abc'), util.u('def')])
results = select([arrtable.c.id]).\
where(arrtable.c.intarr < [4, 5, 6]).execute()\
.fetchall()
eq_(len(results), 1)
eq_(results[0][0], 3)
eq_(results[0][0], 5)

def test_array_subtype_resultprocessor(self):
arrtable = self.tables.arrtable
Expand Down

0 comments on commit 926784f

Please sign in to comment.