From eb733782f1dbd8588ed9bf2062e4448830fff9b0 Mon Sep 17 00:00:00 2001 From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Thu, 23 Oct 2025 02:02:55 +0100 Subject: [PATCH] fix test --- Lib/test/test_sys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3