]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
put some variance on this as it's a difference between 9 and 60 calls
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Jun 2011 01:58:56 +0000 (21:58 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Jun 2011 01:58:56 +0000 (21:58 -0400)
test/aaa_profiling/test_resultset.py

index 451912c8f09d108093ccba660039a501f23cbc23..f84dd72c8b9f29a41d543436552a05edb67e17ff 100644 (file)
@@ -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()