Skip to content

Commit

Permalink
ensure that arguments and exceptions are included
Browse files Browse the repository at this point in the history
  • Loading branch information
kavigupta committed Feb 13, 2024
1 parent b700f5e commit 3454d21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def all_nodes_gen_for_variables(variables):
yield from variables.functions
yield from variables.classes
yield from variables.import_statements
yield from variables.arguments
yield from variables.exceptions

def all_nodes_gen_for_scope(scope):
if hasattr(scope, 'children'):
Expand Down

0 comments on commit 3454d21

Please sign in to comment.