]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
added import for interfaces, otherwise tsa.interfaces is undef if the test is run...
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Aug 2008 21:11:42 +0000 (21:11 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Aug 2008 21:11:42 +0000 (21:11 +0000)
test/engine/pool.py

index f2b74a45a780dfe3650256a99f9f28115fa7e140..8b1223e577e22180436fd3f6d796e5e4bfa1c1d4 100644 (file)
@@ -1,6 +1,6 @@
 import testenv; testenv.configure_for_tests()
 import threading, time, gc
-from sqlalchemy import pool
+from sqlalchemy import pool, interfaces
 import testlib.sa as tsa
 from testlib import TestBase
 
@@ -443,6 +443,7 @@ class PoolTest(TestBase):
                 # con can be None if invalidated
                 assert record is not None
                 self.checked_in.append(con)
+
         class ListenAll(tsa.interfaces.PoolListener, InstrumentingListener):
             pass
         class ListenConnect(InstrumentingListener):