From: Mike Bayer Date: Sun, 5 Jun 2011 01:58:56 +0000 (-0400) Subject: put some variance on this as it's a difference between 9 and 60 calls X-Git-Tag: rel_0_7_1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eae80bb046e08afe395ccf82b561f0cbbec443ff;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git put some variance on this as it's a difference between 9 and 60 calls --- diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index 451912c8f0..f84dd72c8b 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -55,7 +55,7 @@ class ResultSetTest(fixtures.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()