summaryrefslogtreecommitdiff
path: root/test/profiling
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-01-21 23:19:39 +0000
committerJason Kirtland <jek@discorporate.us>2008-01-21 23:19:39 +0000
commit412c80dd6c5d6b940e86e7e142aa1fdd6ee4466d (patch)
tree2a5bfa8185dd888d52b31bfb26ada56c7db89139 /test/profiling
parent08bbc3dfd84234c3cd691e43ff17ed36e2396d76 (diff)
downloadsqlalchemy-412c80dd6c5d6b940e86e7e142aa1fdd6ee4466d.tar.gz
- 2.3 fixup, part two: 100% passing for sqlite
- added 2.4-style binops to util.Set on 2.3 - OrderedSets pickle on 2.3 - more lib/sqlalchemy set vs Set corrections - fixed InstrumentedSet.discard for 2.3 - set, sorted compatibility for test suite - added testing.fails_if decorator
Diffstat (limited to 'test/profiling')
-rw-r--r--test/profiling/compiler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/profiling/compiler.py b/test/profiling/compiler.py
index 58533f700..330271a1c 100644
--- a/test/profiling/compiler.py
+++ b/test/profiling/compiler.py
@@ -15,16 +15,16 @@ class CompileTest(AssertMixin):
Column('c1', Integer, primary_key=True),
Column('c2', String(30)))
- @profiling.profiled('ctest_insert', call_range=(40, 50), always=True)
+ @profiling.function_call_count(42, {'2.3': 44})
def test_insert(self):
t1.insert().compile()
- @profiling.profiled('ctest_update', call_range=(40, 50), always=True)
+ @profiling.function_call_count(42, {'2.3': 47})
def test_update(self):
t1.update().compile()
# TODO: this is alittle high
- @profiling.profiled('ctest_select', call_range=(110, 140), always=True)
+ @profiling.function_call_count(125, versions={'2.3': 180})
def test_select(self):
s = select([t1], t1.c.c2==t2.c.c1)
s.compile()