From: Mike Bayer Date: Sat, 11 Aug 2012 21:55:37 +0000 (-0400) Subject: - this is a refcount test X-Git-Tag: rel_0_8_0b1~264 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4c651420b455e54dafd4e9069ab31632271148b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - this is a refcount test --- diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index daee84b975..1b519c3f87 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -75,6 +75,8 @@ class ExecutionTest(fixtures.TestBase): class RowProxyTest(fixtures.TestBase): + __requires__ = 'cpython', + def _rowproxy_fixture(self, keys, processors, row): from sqlalchemy.engine.result import RowProxy class MockMeta(object): diff --git a/test/lib/profiling.py b/test/lib/profiling.py index 7100af1542..bf7f16db41 100644 --- a/test/lib/profiling.py +++ b/test/lib/profiling.py @@ -258,6 +258,7 @@ def function_call_count(variance=0.05): ) ) stats.print_stats() + #stats.print_callers() if expected_count: deviance = int(callcount * variance)