diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-22 19:07:04 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-22 19:07:04 -0500 |
| commit | 73f2b37fc98aeb7c5ec5b4b9e624352042018686 (patch) | |
| tree | 7a1813eca263e74159d47c0542f9835fab4f693e /test/aaa_profiling/test_resultset.py | |
| parent | 993af53204a0e4378fbf65a0bbf9a617e34dede1 (diff) | |
| download | sqlalchemy-73f2b37fc98aeb7c5ec5b4b9e624352042018686.tar.gz | |
- remove OrderedSet usage from a critical area
Diffstat (limited to 'test/aaa_profiling/test_resultset.py')
| -rw-r--r-- | test/aaa_profiling/test_resultset.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index e46411bdb..dc4732cb8 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -34,16 +34,16 @@ class ResultSetTest(TestBase, AssertsExecutionResults): metadata.drop_all() @profiling.function_call_count(14416, versions={'2.4': 13214, - '2.6+cextension': 385, - '2.7+cextension':401}) + '2.6+cextension': 345, + '2.7+cextension':345}) def test_string(self): [tuple(row) for row in t.select().execute().fetchall()] # sqlite3 returns native unicode. so shouldn't be an increase here. @profiling.function_call_count(14396, versions={'2.4': 13214, - '2.6+cextension': 385, - '2.7+cextension':385}) + '2.6+cextension': 345, + '2.7+cextension':345}) def test_unicode(self): [tuple(row) for row in t2.select().execute().fetchall()] @@ -70,8 +70,9 @@ class ExecutionTest(TestBase): # ensure initial connect activities complete e.execute("select 1") - @profiling.function_call_count(59, versions={'2.4':41, '2.5':58, - '2.6':58, '3':57}, + @profiling.function_call_count(56, versions={'2.4':41, '2.5':58, + '2.6':58, '3':57, + '2.6+cextension':56}, variance=.05) def go(): e.execute("select 1") |
