]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- microcleanup
authorJason Kirtland <jek@discorporate.us>
Thu, 3 Apr 2008 17:32:22 +0000 (17:32 +0000)
committerJason Kirtland <jek@discorporate.us>
Thu, 3 Apr 2008 17:32:22 +0000 (17:32 +0000)
test/profiling/pool.py
test/profiling/zoomark.py

index 12b52e6101b7970f00d8fbad0500e376a96564a2..4b146fbabdc1a549680494513cf4647e78ae498b 100644 (file)
@@ -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)
 
index 2f75c6d019d269426d923fe875ddda296a450160..0994b5d4be1e0f6ff2e6e19af692a0f6be5d0728 100644 (file)
@@ -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 *