summaryrefslogtreecommitdiff
path: root/test/aaa_profiling
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-10 11:10:21 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-10 11:10:21 -0400
commit2f522bd2217ca3421a912413f66b42dcec164df3 (patch)
tree3e7da852e443386d6bafcf52dd67b6dab3dcc287 /test/aaa_profiling
parent153248cf7b74e7dfcd29e093aea51657e74148fc (diff)
downloadsqlalchemy-2f522bd2217ca3421a912413f66b42dcec164df3.tar.gz
final cleanup
Diffstat (limited to 'test/aaa_profiling')
-rw-r--r--test/aaa_profiling/test_orm.py6
-rw-r--r--test/aaa_profiling/test_resultset.py4
-rw-r--r--test/aaa_profiling/test_zoomark.py2
3 files changed, 6 insertions, 6 deletions
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()