summaryrefslogtreecommitdiff
path: root/test/aaa_profiling/test_compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-07-05 19:54:46 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-07-05 19:54:46 -0400
commita9f2ed7b4650e3e546c53666bb3f4a0c48a82c54 (patch)
tree6d64fd0563eb68eccf870be1f6bed661a11e7693 /test/aaa_profiling/test_compiler.py
parent4807d7efccdd56e11e000fa481ae2bdc659a9c8a (diff)
downloadsqlalchemy-a9f2ed7b4650e3e546c53666bb3f4a0c48a82c54.tar.gz
- latest distribute
- added caveats to unittest README encountered with Py2.7 + current nose 0.11.3 - call counts for py2.7. all tests pass for sqlite + mysql-python + psycopg2
Diffstat (limited to 'test/aaa_profiling/test_compiler.py')
-rw-r--r--test/aaa_profiling/test_compiler.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/aaa_profiling/test_compiler.py b/test/aaa_profiling/test_compiler.py
index dc02cece4..a7f64410b 100644
--- a/test/aaa_profiling/test_compiler.py
+++ b/test/aaa_profiling/test_compiler.py
@@ -25,7 +25,8 @@ class CompileTest(TestBase, AssertsExecutionResults):
for t in types.type_map.values():
t._type_affinity
- @profiling.function_call_count(69, {'2.4': 44, '3.0':77, '3.1':77})
+ @profiling.function_call_count(69, {'2.4': 44,
+ '3.0':77, '3.1':77})
def test_insert(self):
t1.insert().compile()
@@ -37,7 +38,8 @@ class CompileTest(TestBase, AssertsExecutionResults):
def test_update_whereclause(self):
t1.update().where(t1.c.c2==12).compile()
- @profiling.function_call_count(195, versions={'2.4':118, '3.0':208, '3.1':208})
+ @profiling.function_call_count(195, versions={'2.4':118,
+ '3.0':208, '3.1':208})
def test_select(self):
s = select([t1], t1.c.c2==t2.c.c1)
s.compile()