Skip to content

Commit 2896c2d

Browse files
Fix test_jit_is_active
1 parent be75204 commit 2896c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_sys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ def frame_3_jit() -> None:
22542254
# 1 extra iteration for tracing.
22552255
for i in range(_testinternalcapi.TIER2_THRESHOLD + 2):
22562256
# Careful, doing this in the reverse order breaks tracing:
2257-
expected = {enabled} and i >= _testinternalcapi.TIER2_THRESHOLD + 1
2257+
expected = {enabled} and i >= _testinternalcapi.TIER2_THRESHOLD
22582258
assert sys._jit.is_active() is expected
22592259
frame_2_jit(expected)
22602260
assert sys._jit.is_active() is expected

0 commit comments

Comments
 (0)