summaryrefslogtreecommitdiff
path: root/test/testlib/testing.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-08-14 21:53:32 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-08-14 21:53:32 +0000
commit087f235c33c1be4e0778231e8344a50dc4005c59 (patch)
treed47c35d1e520e43c05ec869304870c0b6c87f736 /test/testlib/testing.py
parente58063aa91d893d76e9f34fbc3ea21818185844d (diff)
downloadsqlalchemy-087f235c33c1be4e0778231e8344a50dc4005c59.tar.gz
- merged "fasttypes" branch. this branch changes the signature
of convert_bind_param() and convert_result_value() to callable-returning bind_processor() and result_processor() methods. if no callable is returned, no pre/post processing function is called. - hooks added throughout base/sql/defaults to optimize the calling of bind param/result processors so that method call overhead is minimized. special cases added for executemany() scenarios such that unneeded "last row id" logic doesn't kick in, parameters aren't excessively traversed. - new performance tests show a combined mass-insert/mass-select test as having 68% fewer function calls than the same test run against 0.3. - general performance improvement of result set iteration is around 10-20%.
Diffstat (limited to 'test/testlib/testing.py')
-rw-r--r--test/testlib/testing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testlib/testing.py b/test/testlib/testing.py
index 9ee201202..ba3670f4d 100644
--- a/test/testlib/testing.py
+++ b/test/testlib/testing.py
@@ -221,7 +221,7 @@ class SQLCompileTest(PersistTest):
if checkparams is not None:
if isinstance(checkparams, list):
- self.assert_(c.get_params().get_raw_list() == checkparams, "params dont match ")
+ self.assert_(c.get_params().get_raw_list({}) == checkparams, "params dont match ")
else:
self.assert_(c.get_params().get_original_dict() == checkparams, "params dont match" + repr(c.get_params()))