From: Mike Bayer Date: Sun, 5 Jun 2011 01:58:39 +0000 (-0400) Subject: put some variance on this as its a difference between 9 and 60 calls X-Git-Tag: rel_0_6_8~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5062d997e736d356baab93d94bc12f20b324a884;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git put some variance on this as its a difference between 9 and 60 calls --- diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index b32492e39a..897c296605 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -44,7 +44,7 @@ class ResultSetTest(TestBase, AssertsExecutionResults): def test_contains_doesnt_compile(self): row = t.select().execute().first() c1 = Column('some column', Integer) + Column("some other column", Integer) - @profiling.function_call_count(9) + @profiling.function_call_count(9, variance=.15) def go(): c1 in row go()