Skip to content

Commit b464c4d

Browse files
typo
1 parent 2c52be9 commit b464c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_code_context_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ def helper_method(self):
10441044
ending_line=None,
10451045
)
10461046

1047-
# In this scenario, the read-writable code context is too long because the __init_ function is reftencing the global x variable not the class attribute (x), so we abort.
1047+
# In this scenario, the read-writable code context becomes too large because the __init__ function is referencing the global x variable instead of the class attribute self.x, so we abort.
10481048
with pytest.raises(ValueError, match="Read-writable code has exceeded token limit, cannot proceed"):
10491049
code_ctx = get_code_optimization_context(function_to_optimize, opt.args.project_root)
10501050

0 commit comments

Comments
 (0)