summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-04-15 09:16:41 -0400
committerJacob Walls <jacobtylerwalls@gmail.com>2023-04-16 11:39:56 -0400
commitf80a683efc2edb10d4c3780b9866f66a70d397d8 (patch)
tree086980ecfa51925809f58655916d395f45dba8d6
parent2e2b3596f8b408063766336a6d7660bfb4994815 (diff)
downloadpylint-git-f80a683efc2edb10d4c3780b9866f66a70d397d8.tar.gz
Cope with changes to `Arguments` constructor
-rw-r--r--tests/pyreverse/test_printer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyreverse/test_printer.py b/tests/pyreverse/test_printer.py
index 012657516..325468d42 100644
--- a/tests/pyreverse/test_printer.py
+++ b/tests/pyreverse/test_printer.py
@@ -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)