summaryrefslogtreecommitdiff
path: root/test/aaa_profiling/test_resultset.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-12-22 20:36:20 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2010-12-22 20:36:20 -0500
commit015110267e12871ce08c0f3730de0f8488767514 (patch)
tree4fcfeb5c076e306ac7ff29cebc03cd0d0b156ee0 /test/aaa_profiling/test_resultset.py
parent73f2b37fc98aeb7c5ec5b4b9e624352042018686 (diff)
downloadsqlalchemy-015110267e12871ce08c0f3730de0f8488767514.tar.gz
- allow cextension version to fall back to non-cextension
- start taking out "default" version, 2.4 version, only need these tests in a relative sense
Diffstat (limited to 'test/aaa_profiling/test_resultset.py')
-rw-r--r--test/aaa_profiling/test_resultset.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py
index dc4732cb8..51199eb3a 100644
--- a/test/aaa_profiling/test_resultset.py
+++ b/test/aaa_profiling/test_resultset.py
@@ -33,7 +33,10 @@ class ResultSetTest(TestBase, AssertsExecutionResults):
def teardown(self):
metadata.drop_all()
- @profiling.function_call_count(14416, versions={'2.4': 13214,
+ @profiling.function_call_count(versions={
+ '2.4': 13214,
+ '2.6':14416,
+ '2.7':14416,
'2.6+cextension': 345,
'2.7+cextension':345})
def test_string(self):
@@ -41,7 +44,9 @@ class ResultSetTest(TestBase, AssertsExecutionResults):
# sqlite3 returns native unicode. so shouldn't be an increase here.
- @profiling.function_call_count(14396, versions={'2.4': 13214,
+ @profiling.function_call_count(versions={
+ '2.7':14396,
+ '2.6':14396,
'2.6+cextension': 345,
'2.7+cextension':345})
def test_unicode(self):
@@ -57,7 +62,7 @@ class ExecutionTest(TestBase):
# ensure initial connect activities complete
c.execute("select 1")
- @profiling.function_call_count(36, versions={'2.6':35, '2.5':35,
+ @profiling.function_call_count(versions={'2.7':36, '2.6':35, '2.5':35,
'2.4':21, '3':34},
variance=.10)
def go():
@@ -70,8 +75,9 @@ class ExecutionTest(TestBase):
# ensure initial connect activities complete
e.execute("select 1")
- @profiling.function_call_count(56, versions={'2.4':41, '2.5':58,
+ @profiling.function_call_count(versions={'2.4':41, '2.5':58,
'2.6':58, '3':57,
+ '2.7':56,
'2.6+cextension':56},
variance=.05)
def go():