From: Mike Bayer Date: Wed, 13 Aug 2008 21:11:42 +0000 (+0000) Subject: added import for interfaces, otherwise tsa.interfaces is undef if the test is run... X-Git-Tag: rel_0_5rc1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c374f7b8b52b4169d41cf8d2cfe310ed5fd5f925;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git added import for interfaces, otherwise tsa.interfaces is undef if the test is run standalone --- diff --git a/test/engine/pool.py b/test/engine/pool.py index f2b74a45a7..8b1223e577 100644 --- a/test/engine/pool.py +++ b/test/engine/pool.py @@ -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):