From: Mike Bayer Date: Fri, 20 Apr 2018 17:53:18 +0000 (-0400) Subject: bump variance for these sqlite-sensitive tests X-Git-Tag: rel_1_3_0b1~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8bb359b7406b70cf964f8b3ed6a25bb0603ad5f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git bump variance for these sqlite-sensitive tests Change-Id: I351c277afca7e53afc887c77a8b6dcaccf75d165 --- diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index 0781b0d8bb..54cb76939f 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -51,14 +51,14 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults): def test_unicode(self): [tuple(row) for row in t2.select().execute().fetchall()] - @profiling.function_call_count() + @profiling.function_call_count(variance=0.10) def test_raw_string(self): stmt = 'SELECT %s FROM table1' % ( ", ".join("field%d" % fnum for fnum in range(NUM_FIELDS)) ) [tuple(row) for row in testing.db.execute(stmt).fetchall()] - @profiling.function_call_count() + @profiling.function_call_count(variance=0.10) def test_raw_unicode(self): stmt = "SELECT %s FROM table2" % ( ", ".join("field%d" % fnum for fnum in range(NUM_FIELDS))