]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add a close to this as PG appears to be hanging
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Feb 2011 22:17:29 +0000 (17:17 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Feb 2011 22:17:29 +0000 (17:17 -0500)
test/ext/test_declarative.py

index 32eae69a9ee8e2fcb14655c8da1a3bd30b917c27..8c97fbf27b56cc73c830475e5a3074a9b3f57729 100644 (file)
@@ -23,6 +23,7 @@ class DeclarativeTestBase(testing.TestBase, testing.AssertsExecutionResults):
         Base = decl.declarative_base(testing.db)
 
     def teardown(self):
+        Session.close_all()
         clear_mappers()
         Base.metadata.drop_all()