summaryrefslogtreecommitdiff
path: root/test/aaa_profiling/test_resultset.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-09-29 15:44:33 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-09-29 15:44:33 -0400
commit147f0969301184b952366f39195caaabe6d63dbf (patch)
tree96ea51c21dcae7911528bad78b7ffce5eae67d19 /test/aaa_profiling/test_resultset.py
parent7362d454f46107cae4076ce54e9fa430c3370734 (diff)
downloadsqlalchemy-147f0969301184b952366f39195caaabe6d63dbf.tar.gz
bump variance on test_string, test_unicode
a recent rerun of profiles added more profiling data that's failing over small differences. 15% variance is fine for these tests that are looking for thousands of encode calls. Change-Id: I33dac346b2ff07f86b4bc278a7309ca9b7efbaab
Diffstat (limited to 'test/aaa_profiling/test_resultset.py')
-rw-r--r--test/aaa_profiling/test_resultset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py
index de3683430..7188c4125 100644
--- a/test/aaa_profiling/test_resultset.py
+++ b/test/aaa_profiling/test_resultset.py
@@ -84,14 +84,14 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults):
def teardown(self):
metadata.drop_all()
- @profiling.function_call_count()
+ @profiling.function_call_count(variance=0.15)
def test_string(self):
with testing.db.connect().execution_options(
compiled_cache=None
) as conn:
[tuple(row) for row in conn.execute(t.select()).fetchall()]
- @profiling.function_call_count()
+ @profiling.function_call_count(variance=0.15)
def test_unicode(self):
with testing.db.connect().execution_options(
compiled_cache=None