From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Thu, 23 Oct 2025 01:02:55 +0000 (+0100) Subject: fix test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb733782f1dbd8588ed9bf2062e4448830fff9b0;p=thirdparty%2FPython%2Fcpython.git fix test --- diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 98dd466849e5..c5e50dffb139 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -2255,7 +2255,7 @@ class TestSysJIT(unittest.TestCase): # 1 extra iteration for tracing. for i in range(_testinternalcapi.TIER2_THRESHOLD + 2): # Careful, doing this in the reverse order breaks tracing: - expected = {enabled} and i >= _testinternalcapi.TIER2_THRESHOLD + 1 + expected = {enabled} and i >= _testinternalcapi.TIER2_THRESHOLD assert sys._jit.is_active() is expected frame_2_jit(expected) assert sys._jit.is_active() is expected