diff options
| author | Jason Kirtland <jek@discorporate.us> | 2008-04-03 17:32:22 +0000 |
|---|---|---|
| committer | Jason Kirtland <jek@discorporate.us> | 2008-04-03 17:32:22 +0000 |
| commit | 9dd01e52e2e0755bbaf6e08b048e9a48b55879d1 (patch) | |
| tree | db76f35513b60c99fe6e46bb61cd4bbd62b83856 | |
| parent | d78f39d0057bbc648a9af31d7bd3ead2895ee178 (diff) | |
| download | sqlalchemy-9dd01e52e2e0755bbaf6e08b048e9a48b55879d1.tar.gz | |
- microcleanup
| -rw-r--r-- | test/profiling/pool.py | 2 | ||||
| -rw-r--r-- | test/profiling/zoomark.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/test/profiling/pool.py b/test/profiling/pool.py index 12b52e610..4b146fbab 100644 --- a/test/profiling/pool.py +++ b/test/profiling/pool.py @@ -11,7 +11,7 @@ class QueuePoolTest(TestBase, AssertsExecutionResults): def setUp(self): global pool - pool = QueuePool(creator=lambda: self.Connection, + pool = QueuePool(creator=self.Connection, pool_size=3, max_overflow=-1, use_threadlocal=True) diff --git a/test/profiling/zoomark.py b/test/profiling/zoomark.py index 2f75c6d01..0994b5d4b 100644 --- a/test/profiling/zoomark.py +++ b/test/profiling/zoomark.py @@ -6,7 +6,6 @@ An adaptation of Robert Brewers' ZooMark speed tests. import datetime import sys import time -import unittest import testenv; testenv.configure_for_tests() from sqlalchemy import * from testlib import * |
