Skip to content

Commit

Permalink
Update astroid/objects.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
  • Loading branch information
nickdrozd and DanielNoord authored Apr 4, 2023
1 parent d64dce8 commit ead4fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroid/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def __init__(

def infer_call_result(self, caller=None, context: InferenceContext | None = None):
if context:
assert context.callcontext
assert context.callcontext, "CallContext should be set before inferring call result"
current_passed_keywords = {
keyword for (keyword, _) in context.callcontext.keywords
}
Expand Down

0 comments on commit ead4fe8

Please sign in to comment.