From 9dd01e52e2e0755bbaf6e08b048e9a48b55879d1 Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Thu, 3 Apr 2008 17:32:22 +0000 Subject: [PATCH] - microcleanup --- test/profiling/pool.py | 2 +- test/profiling/zoomark.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 * -- 2.47.3