From 2f522bd2217ca3421a912413f66b42dcec164df3 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 10 Aug 2012 11:10:21 -0400 Subject: final cleanup --- test/aaa_profiling/test_orm.py | 6 +++--- test/aaa_profiling/test_resultset.py | 4 ++-- test/aaa_profiling/test_zoomark.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test/aaa_profiling') diff --git a/test/aaa_profiling/test_orm.py b/test/aaa_profiling/test_orm.py index 920d6ee9d..83351d6b8 100644 --- a/test/aaa_profiling/test_orm.py +++ b/test/aaa_profiling/test_orm.py @@ -60,14 +60,14 @@ class MergeTest(fixtures.MappedTest): # down from 185 on this this is a small slice of a usually # bigger operation so using a small variance - @profiling.function_call_count(96, {}, variance=0.10) + @profiling.function_call_count(96, variance=0.10) def go1(): return sess2.merge(p1, load=False) p2 = go1() # third call, merge object already present. almost no calls. - @profiling.function_call_count(16, {}, variance=0.10) + @profiling.function_call_count(16, variance=0.10) def go2(): return sess2.merge(p2, load=False) go2() @@ -85,7 +85,7 @@ class MergeTest(fixtures.MappedTest): # using sqlite3 the C extension took it back up to approx. 1257 # (py2.6) - @profiling.function_call_count(1128, {}, variance=0.10) + @profiling.function_call_count(1128, variance=0.10) def go(): p2 = sess2.merge(p1) go() diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index 84eb34df1..29db46ef4 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -34,11 +34,11 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults): def teardown(self): metadata.drop_all() - @profiling.function_call_count(354) + @profiling.function_call_count(336) def test_string(self): [tuple(row) for row in t.select().execute().fetchall()] - @profiling.function_call_count(354) + @profiling.function_call_count(336) def test_unicode(self): [tuple(row) for row in t2.select().execute().fetchall()] diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py index 50b3da076..a254ff15f 100644 --- a/test/aaa_profiling/test_zoomark.py +++ b/test/aaa_profiling/test_zoomark.py @@ -393,7 +393,7 @@ class ZooMarkTest(fixtures.TestBase): def test_profile_6_editing(self): self.test_baseline_6_editing() - @profiling.function_call_count(2095) + @profiling.function_call_count(1970) def test_profile_7_multiview(self): self.test_baseline_7_multiview() -- cgit v1.2.1