From: Mike Bayer Date: Mon, 13 Dec 2010 15:23:59 +0000 (-0500) Subject: - callcounts. need to find some way to make this less tedious. X-Git-Tag: rel_0_7b1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09961886961668dcf452a1139eb8584bf48e2539;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - callcounts. need to find some way to make this less tedious. --- diff --git a/test/aaa_profiling/test_compiler.py b/test/aaa_profiling/test_compiler.py index ea33b96dcb..745ca2eb3b 100644 --- a/test/aaa_profiling/test_compiler.py +++ b/test/aaa_profiling/test_compiler.py @@ -43,7 +43,7 @@ class CompileTest(TestBase, AssertsExecutionResults): def test_update_whereclause(self): t1.update().where(t1.c.c2==12).compile() - @profiling.function_call_count(195, versions={'2.4':118, + @profiling.function_call_count(195, versions={'2.4':112, '3.0':208, '3.1':208}) def test_select(self): s = select([t1], t1.c.c2==t2.c.c1) diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index f56bfc73e3..8fafda5afa 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -30,7 +30,7 @@ class ResultSetTest(TestBase, AssertsExecutionResults): metadata.drop_all() @profiling.function_call_count(14416, versions={'2.4': 13214, - '2.6+cextension': 390, '2.7+cextension':401}) + '2.6+cextension': 410, '2.7+cextension':401}) def test_string(self): [tuple(row) for row in t.select().execute().fetchall()] @@ -54,7 +54,7 @@ class ExecutionTest(TestBase): @profiling.function_call_count(36, versions={'2.6':35, '2.5':35, '2.4':21, '3':34}, - variance=.05) + variance=.10) def go(): c.execute("select 1") go() diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py index 1744659971..fbf1fe30c2 100644 --- a/test/aaa_profiling/test_zoomark.py +++ b/test/aaa_profiling/test_zoomark.py @@ -369,7 +369,7 @@ class ZooMarkTest(TestBase): def test_profile_2_insert(self): self.test_baseline_2_insert() - @profiling.function_call_count(3634, {'2.4': 2158}) + @profiling.function_call_count(3886, {'2.4': 2158}) def test_profile_3_properties(self): self.test_baseline_3_properties()