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

index b32492e39a51ce8f5c0b260094a5d7501d7590ea..897c2966058341a3af6df256e3d443df1d495ca8 100644 (file)
@@ -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()