]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- add a close here
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Jan 2015 16:34:52 +0000 (11:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Jan 2015 16:37:10 +0000 (11:37 -0500)
test/sql/test_join_rewriting.py

index ced65d7f1256b58012799ac46dd1e72d1c1e8d71..f99dfda4ef2f67f43c70f37a429f0c6d088e1396 100644 (file)
@@ -650,6 +650,7 @@ class JoinExecTest(_JoinRewriteTestBase, fixtures.TestBase):
 
     def _test(self, selectable, assert_):
         result = testing.db.execute(selectable)
+        result.close()
         for col in selectable.inner_columns:
             assert col in result._metadata._keymap