diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-07-05 19:54:46 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-07-05 19:54:46 -0400 |
| commit | a9f2ed7b4650e3e546c53666bb3f4a0c48a82c54 (patch) | |
| tree | 6d64fd0563eb68eccf870be1f6bed661a11e7693 /test/aaa_profiling/test_pool.py | |
| parent | 4807d7efccdd56e11e000fa481ae2bdc659a9c8a (diff) | |
| download | sqlalchemy-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_pool.py')
| -rw-r--r-- | test/aaa_profiling/test_pool.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/aaa_profiling/test_pool.py b/test/aaa_profiling/test_pool.py index 0ce48e2a7..c4f5191fe 100644 --- a/test/aaa_profiling/test_pool.py +++ b/test/aaa_profiling/test_pool.py @@ -18,7 +18,9 @@ class QueuePoolTest(TestBase, AssertsExecutionResults): use_threadlocal=True) - @profiling.function_call_count(64, {'2.4': 42, '3.0':65, '3.1':65}) + @profiling.function_call_count(64, {'2.4': 42, '2.7':59, + '2.7+cextension':59, + '3.0':65, '3.1':65}) def test_first_connect(self): conn = pool.connect() @@ -26,7 +28,8 @@ class QueuePoolTest(TestBase, AssertsExecutionResults): conn = pool.connect() conn.close() - @profiling.function_call_count(32, {'2.4': 21}) + @profiling.function_call_count(32, {'2.4': 21, '2.7':29, + '2.7+cextension':29}) def go(): conn2 = pool.connect() return conn2 |
