From 07de0096baad51f2f24f0ac6eaac9ca630eda95f Mon Sep 17 00:00:00 2001 From: arvidn Date: Tue, 1 Nov 2022 10:18:53 +0100 Subject: [PATCH] python 3.11 appears to be slower --- tests/test-generators.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test-generators.py b/tests/test-generators.py index 68618b4c9..4800379fd 100755 --- a/tests/test-generators.py +++ b/tests/test-generators.py @@ -70,6 +70,9 @@ def parse_output(result, error_code) -> str: elif "block-834768" in g: limit = 6 + if sys.version_info[:2] == (3, 11): + limit *= 1.3 + if run_time > limit or run_time2 > limit: print(f"run-time exceeds limit ({limit})!") failed = 1