diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-08-13 21:11:42 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-08-13 21:11:42 +0000 |
| commit | c374f7b8b52b4169d41cf8d2cfe310ed5fd5f925 (patch) | |
| tree | 5512319d9f1ddb66455ea3e6f05a689f0182a90b /test | |
| parent | d98caf9da81c6282cdde00e65fbf8c8b9e8dbd50 (diff) | |
| download | sqlalchemy-c374f7b8b52b4169d41cf8d2cfe310ed5fd5f925.tar.gz | |
added import for interfaces, otherwise tsa.interfaces is undef if the test is run standalone
Diffstat (limited to 'test')
| -rw-r--r-- | test/engine/pool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/engine/pool.py b/test/engine/pool.py index f2b74a45a..8b1223e57 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): |
