Skip to content

Commit 7236ca2

Browse files
committed
prevent the drift with the comment
1 parent c9f1ebd commit 7236ca2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_external_inspection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3808,6 +3808,8 @@ def test_get_stats_disabled_raises(self):
38083808
class TestFrameChainLimits(RemoteInspectionTestBase):
38093809
"""Frame chain walks abort instead of looping/overflowing on deep chains."""
38103810

3811+
# Limits plus one, to exceed them (must match MAX_FRAME_CHAIN_DEPTH /
3812+
# MAX_TASK_WAITER_CHAIN_DEPTH from _remote_debugging.h)
38113813
CHAIN_DEPTH = 1024 + 512 + 1
38123814

38133815
TASK_WAITER_CHAIN_DEPTH = 256 + 1

0 commit comments

Comments
 (0)