[Sqlalchemy-commits] sqlalchemy: weird, seems like hasattr() doesn't count as a funct...
Brought to you by:
zzzeek
From: <co...@sq...> - 2012-06-12 14:33:16
|
details: http://hg.sqlalchemy.org/sqlalchemy/sqlalchemy/rev/eea9cb300de0 changeset: 8358:eea9cb300de0 user: Mike Bayer <mi...@zz...> date: Tue Jun 12 10:32:52 2012 -0400 description: weird, seems like hasattr() doesn't count as a function call in the same way as isinstance()... diffstat: test/aaa_profiling/test_zoomark.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r f74c6ebf5f68 -r eea9cb300de0 test/aaa_profiling/test_zoomark.py --- a/test/aaa_profiling/test_zoomark.py Tue Jun 12 10:21:58 2012 -0400 +++ b/test/aaa_profiling/test_zoomark.py Tue Jun 12 10:32:52 2012 -0400 @@ -377,7 +377,7 @@ def test_profile_2_insert(self): self.test_baseline_2_insert() - @profiling.function_call_count(3333) + @profiling.function_call_count(3109) def test_profile_3_properties(self): self.test_baseline_3_properties() |