Skip to content

Commit f80a683

Browse files
Cope with changes to Arguments constructor
1 parent 2e2b359 commit f80a683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pyreverse/test_printer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_unsupported_layout(layout: Layout, printer_class: type[Printer]) -> Non
4141

4242
def test_method_arguments_none() -> None:
4343
func = nodes.FunctionDef()
44-
args = nodes.Arguments()
44+
args = nodes.Arguments(vararg=None, kwarg=None, parent=func)
4545
args.args = None
4646
func.postinit(args, body=None)
4747
parsed_args = Printer._get_method_arguments(func)

0 commit comments

Comments
 (0)