Skip to content

Commit

Permalink
Cope with changes to Arguments constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Apr 16, 2023
1 parent 2e2b359 commit f80a683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pyreverse/test_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_unsupported_layout(layout: Layout, printer_class: type[Printer]) -> Non

def test_method_arguments_none() -> None:
func = nodes.FunctionDef()
args = nodes.Arguments()
args = nodes.Arguments(vararg=None, kwarg=None, parent=func)
args.args = None
func.postinit(args, body=None)
parsed_args = Printer._get_method_arguments(func)
Expand Down

0 comments on commit f80a683

Please sign in to comment.