diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-05 12:46:28 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-05 12:46:28 -0400 |
commit | df7a3792f558dd5f4e39c7ca1f6feda9753be1f1 (patch) | |
tree | 330425f65b908158bd578e80b2d0bae4c84e5b98 /test/engine/test_pool.py | |
parent | 307c6f9773ad80f3eea32da72b02c8ad50a797e9 (diff) | |
download | sqlalchemy-df7a3792f558dd5f4e39c7ca1f6feda9753be1f1.tar.gz |
- add req's for predictable gc
Diffstat (limited to 'test/engine/test_pool.py')
-rw-r--r-- | test/engine/test_pool.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/engine/test_pool.py b/test/engine/test_pool.py index e5e3b42ce..6f00a3c80 100644 --- a/test/engine/test_pool.py +++ b/test/engine/test_pool.py @@ -426,6 +426,7 @@ class PoolEventsTest(object): #PoolTestBase): pool.Pool.dispatch._clear() class DeprecatedPoolListenerTest(PoolTestBase): + @testing.requires.predictable_gc @testing.uses_deprecated(r".*Use event.listen") def test_listeners(self): class InstrumentingListener(object): @@ -946,6 +947,7 @@ class QueuePoolTest(PoolTestBase): still_opened = len([c for c in strong_refs if not c.closed]) eq_(still_opened, 2) + @testing.requires.predictable_gc def test_weakref_kaboom(self): p = self._queuepool_fixture(pool_size=3, max_overflow=-1, use_threadlocal=True) |