From 768bd7ec0a553273253a7f0306c19a67561f8702 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 14 Mar 2012 17:19:15 -0700 Subject: [PATCH] callcounts for py3k --- test/aaa_profiling/test_zoomark.py | 1 + test/aaa_profiling/test_zoomark_orm.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py index ebce688724..a0336662d7 100644 --- a/test/aaa_profiling/test_zoomark.py +++ b/test/aaa_profiling/test_zoomark.py @@ -402,6 +402,7 @@ class ZooMarkTest(fixtures.TestBase): @profiling.function_call_count(2252, {'2.4': 1673, '2.6':2412, '2.7':2412, + '3.2':2396, '2.7+cextension':2110, '2.6+cextension': 2252}) def test_profile_7_multiview(self): diff --git a/test/aaa_profiling/test_zoomark_orm.py b/test/aaa_profiling/test_zoomark_orm.py index 59391b4990..99b4d92240 100644 --- a/test/aaa_profiling/test_zoomark_orm.py +++ b/test/aaa_profiling/test_zoomark_orm.py @@ -331,7 +331,7 @@ class ZooMarkTest(fixtures.TestBase): session = sessionmaker(engine)() engine.connect() - @profiling.function_call_count(5600) + @profiling.function_call_count(5600, {"3.2":5928}) def test_profile_1_create_tables(self): self.test_baseline_1_create_tables() @@ -340,7 +340,7 @@ class ZooMarkTest(fixtures.TestBase): def test_profile_1a_populate(self): self.test_baseline_1a_populate() - @profiling.function_call_count(413, {'3.2':360}) + @profiling.function_call_count(413, {'3.2':398}) def test_profile_2_insert(self): self.test_baseline_2_insert() @@ -358,7 +358,7 @@ class ZooMarkTest(fixtures.TestBase): # and this number go down slightly when using the C extensions - @profiling.function_call_count(17698, {'2.7+cextension':17698, '2.6': 18943, '2.7':19110}) + @profiling.function_call_count(17698, {'2.7+cextension':17698, '2.6': 18943, '2.7':19110, '3.2':19264}) def test_profile_4_expressions(self): self.test_baseline_4_expressions() -- 2.47.2