Skip to content

Commit eb73378

Browse files
fix test
1 parent a7fcf24 commit eb73378

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
@@ -2255,7 +2255,7 @@ def frame_3_jit() -> None:
22552255
# 1 extra iteration for tracing.
22562256
for i in range(_testinternalcapi.TIER2_THRESHOLD + 2):
22572257
# Careful, doing this in the reverse order breaks tracing:
2258-
expected = {enabled} and i >= _testinternalcapi.TIER2_THRESHOLD + 1
2258+
expected = {enabled} and i >= _testinternalcapi.TIER2_THRESHOLD
22592259
assert sys._jit.is_active() is expected
22602260
frame_2_jit(expected)
22612261
assert sys._jit.is_active() is expected

0 commit comments

Comments
 (0)