From: Jason Kirtland Date: Thu, 3 Apr 2008 17:32:22 +0000 (+0000) Subject: - microcleanup X-Git-Tag: rel_0_4_5~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dd01e52e2e0755bbaf6e08b048e9a48b55879d1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - microcleanup --- diff --git a/test/profiling/pool.py b/test/profiling/pool.py index 12b52e6101..4b146fbabd 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 2f75c6d019..0994b5d4be 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 *