summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-09-06 10:55:53 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-09-06 10:55:53 -0400
commitccde5319358aa3eb0e075dbcf01024001230b02b (patch)
tree5173442c847b06ad5c353184621e4e848b60f0d1 /test/dialect/test_postgresql.py
parentbe5207a98f62090aa5200d7808730a40dd840dac (diff)
downloadsqlalchemy-ccde5319358aa3eb0e075dbcf01024001230b02b.tar.gz
- query.with_parent() now accepts transient objects
and will use the non-persistent values of their pk/fk attributes in order to formulate the criterion. Docs are also clarified as to the purpose of with_parent(). - fix for PG test executing an alias()
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r--test/dialect/test_postgresql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py
index a605594d4..9ad46c189 100644
--- a/test/dialect/test_postgresql.py
+++ b/test/dialect/test_postgresql.py
@@ -1725,7 +1725,7 @@ class ServerSideCursorsTest(TestBase, AssertsExecutionResults):
result.close()
result = \
sess.query(Foo).execution_options(stream_results=True).\
- subquery().execute()
+ statement.execute()
assert result.cursor.name
result.close()
finally: