diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-11-10 22:56:22 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-11-10 22:56:22 +0000 |
commit | d403d8b865884b05169c7d56d0545e84088ba8a4 (patch) | |
tree | ab9d24ac7d9bef9744a800bc58c1148417dda62f /test/dialect/postgres.py | |
parent | ea12a628e46783e255f5ae6068a24f29fe784d05 (diff) | |
download | sqlalchemy-d403d8b865884b05169c7d56d0545e84088ba8a4.tar.gz |
Quashed import sets deprecation warning on 2.6.. not wild about this but it seems like it will be ok. [ticket:1209]
Diffstat (limited to 'test/dialect/postgres.py')
-rw-r--r-- | test/dialect/postgres.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dialect/postgres.py b/test/dialect/postgres.py index caafb39f6..45f9d289a 100644 --- a/test/dialect/postgres.py +++ b/test/dialect/postgres.py @@ -96,9 +96,11 @@ class ReturningTest(TestBase, AssertsExecutionResults): self.assertEqual(result.fetchall(), [(1,)]) # Multiple inserts only return the last row + testing.db.echo = True result2 = table.insert(postgres_returning=[table]).execute( [{'persons': 2, 'full': False}, {'persons': 3, 'full': True}]) - + from pdb import set_trace; set_trace() + print vars(result2) self.assertEqual(result2.fetchall(), [(3,3,True)]) result3 = table.insert(postgres_returning=[(table.c.id*2).label('double_id')]).execute({'persons': 4, 'full': False}) |