summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-04-03 17:32:22 +0000
committerJason Kirtland <jek@discorporate.us>2008-04-03 17:32:22 +0000
commit9dd01e52e2e0755bbaf6e08b048e9a48b55879d1 (patch)
treedb76f35513b60c99fe6e46bb61cd4bbd62b83856
parentd78f39d0057bbc648a9af31d7bd3ead2895ee178 (diff)
downloadsqlalchemy-9dd01e52e2e0755bbaf6e08b048e9a48b55879d1.tar.gz
- microcleanup
-rw-r--r--test/profiling/pool.py2
-rw-r--r--test/profiling/zoomark.py1
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 *