]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
bump variance for these sqlite-sensitive tests
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Apr 2018 17:53:18 +0000 (13:53 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Apr 2018 17:53:18 +0000 (13:53 -0400)
Change-Id: I351c277afca7e53afc887c77a8b6dcaccf75d165

test/aaa_profiling/test_resultset.py

index 0781b0d8bb1b6935522ca09cde3a75fc4422dc1c..54cb76939fb79349e681499a2a58280130fe8b6d 100644 (file)
@@ -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))